Message ID | 20181031175922.8849-6-axboe@kernel.dk |
---|---|
State | Not Applicable |
Delegated to: | David Miller |
Headers | show
Return-Path: <linux-ide-owner@vger.kernel.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-ide-owner@vger.kernel.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel-dk.20150623.gappssmtp.com header.i=@kernel-dk.20150623.gappssmtp.com header.b="WmT8z3E0"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42lbhD1J2jz9sBQ for <incoming@patchwork.ozlabs.org>; Thu, 1 Nov 2018 04:59:40 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730154AbeKAC6l (ORCPT <rfc822;incoming@patchwork.ozlabs.org>); Wed, 31 Oct 2018 22:58:41 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:35540 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729936AbeKAC6l (ORCPT <rfc822; linux-ide@vger.kernel.org>); Wed, 31 Oct 2018 22:58:41 -0400 Received: by mail-io1-f65.google.com with SMTP id 79-v6so10350947iou.2 for <linux-ide@vger.kernel.org>; Wed, 31 Oct 2018 10:59:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fKqy0j2S18gnDhdV3yZx+w4DEDhDrqV9kfrvqhQ+bP0=; b=WmT8z3E0WFAse0+gywXytkYvCQrDu+WeHatqaAERoqduSDlayrpfHnUGlZWPv5zJeZ 5G33CBvZfa36xdFHTUR1NhyqxB2yxxhKgaK5Roq46xqbydOq3UonYIYXCTSdb4lj+4C4 Kr+fjsfML41oyj5bAqCSaumLyTZOf6KpBuwiOFhnUGtx1lWy+iD+6qVfJ0TEFW5TzWTm /bvXAfEohvWEN8eg05bYaJGNvGTRzI318i1kEx+xWcCco4Mb7U10uBSukoG6YmwwtVtW hu2SZObx94eRsaPTjf11reiDXhUd5LkU44980dNcUF7yeD4TwA76Oe69GHmMO5G0vPIt +99g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fKqy0j2S18gnDhdV3yZx+w4DEDhDrqV9kfrvqhQ+bP0=; b=dC7bdbtFCywo739Y3QYuQxHxYUDQy4NADQU/rcjF16CrECJ6k/Gii39qiYPD7P71RF oDkzajUfPOdeqTfD8z27BbhjqrzKbcjY4/zXNBf9BdLqFRUc2Tt6tN77RB+sS5EXZLSx fQnRdCAPnsd19QbNSUmKaTZEYF/h8KcnO5hg67+oFWjLnPMcOYuCqLW/MG4SNOtwHWIk 2TeRvMjY148im6jm7lGAM0RGlJKjaozmJM7wgPuBdIQOigRRX3Hb87oI6NZKd6gtkQq3 uMn73GSbgZmnkRmhISUahC5p7s+GZ8bWYJKqJu6Gvn504l1XNP16BGtgJu08pGWS1xb6 StwQ== X-Gm-Message-State: AGRZ1gK573aFewgiF5vmaq2T2a5D7+OITLJKNG03YzMH1IDtiO3FpHCQ wXV4gGUpuIIY8ytTWDGtj3sLsfBEooM= X-Google-Smtp-Source: AJdET5fgt14AdTOOE7RgPUn47aYcyn2s9r3XQbrIe1hfJAzgb+fz/2DfRA8fdLrPKe9mysJI1YwWOQ== X-Received: by 2002:a6b:6a08:: with SMTP id x8-v6mr2988182iog.38.1541008777454; Wed, 31 Oct 2018 10:59:37 -0700 (PDT) Received: from localhost.localdomain ([216.160.245.98]) by smtp.gmail.com with ESMTPSA id 197-v6sm10982947iou.87.2018.10.31.10.59.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Oct 2018 10:59:36 -0700 (PDT) From: Jens Axboe <axboe@kernel.dk> To: linux-block@vger.kernel.org, linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org Cc: Jens Axboe <axboe@kernel.dk> Subject: [PATCH 05/30] blk-mq: remove the request_list usage Date: Wed, 31 Oct 2018 11:58:57 -0600 Message-Id: <20181031175922.8849-6-axboe@kernel.dk> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181031175922.8849-1-axboe@kernel.dk> References: <20181031175922.8849-1-axboe@kernel.dk> Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: <linux-ide.vger.kernel.org> X-Mailing-List: linux-ide@vger.kernel.org |
Series |
blk-mq driver conversions and legacy path removal
|
expand
|
diff --git a/block/blk-mq.c b/block/blk-mq.c index 3f91c6e5b17a..4c82dc44d4d8 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -510,9 +510,6 @@ void blk_mq_free_request(struct request *rq) rq_qos_done(q, rq); - if (blk_rq_rl(rq)) - blk_put_rl(blk_rq_rl(rq)); - WRITE_ONCE(rq->state, MQ_RQ_IDLE); if (refcount_dec_and_test(&rq->ref)) __blk_mq_free_request(rq); @@ -1675,8 +1672,6 @@ static void blk_mq_bio_to_request(struct request *rq, struct bio *bio) { blk_init_request_from_bio(rq, bio); - blk_rq_set_rl(rq, blk_get_rl(rq->q, bio)); - blk_account_io_start(rq, true); }