Message ID | 20181031175922.8849-6-axboe@kernel.dk (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <linux-scsi-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4D1FD1751 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 31 Oct 2018 17:59:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 00C172B4D3 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 31 Oct 2018 17:59:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E94CF2B4E0; Wed, 31 Oct 2018 17:59:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C9522B4D3 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 31 Oct 2018 17:59:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730155AbeKAC6m (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Wed, 31 Oct 2018 22:58:42 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:46155 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730153AbeKAC6m (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Wed, 31 Oct 2018 22:58:42 -0400 Received: by mail-io1-f65.google.com with SMTP id y22-v6so10337547ioj.13 for <linux-scsi@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=UM23alIqf4RNBN927okhsCAKoBvn5DsdyvRv1k1m395ChEacmJ1CW6vDQn4DERlC6T D3zEX8WfHp1Sd6YPBc96YrgF1cE6FUcx2TQomIEFyu/+44eyFkSmmhXdF9mpolCOeECu Dr1g6xVCkp2Qq7H5xscIgPAsVQ7HJqhcOwxFCxExhK0r84iK1sl2k0gIUVsuuhsdCSte XWumg882Jbd9W74w5NRO1pfvkEMtEK1RuVZ4Zg/sH/PFn9mzGILxKF1rKSpzMhzIi4vH Qgy12gyYBSqwX2X3gH67xbzdGbD7F9/z70WhEzaSqeyddsvnrjVvmSNkAISlww5id1Oy sSZQ== X-Gm-Message-State: AGRZ1gLE9mMCZ5PFv5UMVI2bWd7dPoC2sQfHJMQjCX6Yl6AA205InXrS fFvqDswrm9W0QsJx2MQcXJ9sYA== 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-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
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); }