From patchwork Thu Oct 25 21:10:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Axboe X-Patchwork-Id: 10656497 Return-Path: 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 1E7B31751 for ; Thu, 25 Oct 2018 21:10:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 145E22C648 for ; Thu, 25 Oct 2018 21:10:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 093B92C650; Thu, 25 Oct 2018 21:10:58 +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 A47F62C648 for ; Thu, 25 Oct 2018 21:10:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726448AbeJZFpP (ORCPT ); Fri, 26 Oct 2018 01:45:15 -0400 Received: from mail-it1-f193.google.com ([209.85.166.193]:53173 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726406AbeJZFpO (ORCPT ); Fri, 26 Oct 2018 01:45:14 -0400 Received: by mail-it1-f193.google.com with SMTP id 134-v6so3348805itz.2 for ; Thu, 25 Oct 2018 14:10:56 -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=OiZLe7tP/Uk7mFsJZqwEAkQSAHOIdOZe/4Id+T33smY=; b=at6I+1P21/w0q11u4BPrJEa/wbf3FG1ism8SGP5pyzDhbx4pno6sFFCGMjbPLuRi5F E30fzA5lVl13GjqJ5FdXOFBojH8Vnjtjl2DmeZi1ywEpqfvB3tr4fZG1oEUz2g2NSa9i qqB9Xvj9f6Zmlk+TVI+MSi2ofi134Aww4vMes3K9MoLEPlw0UBmZDVVoDL29pcLfFHeB ruE8z5Grs/AQL5phNmA06n04Podif+/EFDZqx5h8QvvgIbrOTU8p1vFcs/iuYuFsB9BH TcTB01bLfptSGjBgmdlkkBoeULF2bePczi6MhsRv7/hEUHZg3N93F4ezi6DlbOoTYT5x Za9A== 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=OiZLe7tP/Uk7mFsJZqwEAkQSAHOIdOZe/4Id+T33smY=; b=dJRxEkWZWJxViEIwemLoZzvT88Fu7XOz7hgyboZvOiRTB9n3Ym6GPfWLqa5ykiVCyy kFDJDy8MD1cmQwlBmO1HNTzSjhLR9IYFVAB6/g2jVsmx1UXF4iL8tbV4t5eKQF2eXJLn VKpjooPBulPvjN+UyivB2jptccQwPvy4qL/tKLO3RQ/zIltD7epa28Nk5SufGiJNFiaH v/2R+yS1FDvVzgqN1OZXCNgaKTRs8TVq5Hke6bHzrMsjtmC7/XWkXFPDfsexWRzGVq3K xVA8ghfhgWsYt9DKWdDogKN88SC1bGq1Z1T2JM0t/VIDHBJUBOY5m5nS6WY+WKPEfWoZ 9Y2Q== X-Gm-Message-State: AGRZ1gJzAlj5lGulQtVKKaDNfH8iDQBr9dKtXjONAfFHFG/d8/ql8mU6 3I8/dfxe2j7mXSYo90o4zBqRTHNF69Y= X-Google-Smtp-Source: AJdET5foTCV9ceeNxK3jh8tB1w+Os4AzXQM+DczFWguVcgbzwmeaNH1CX5KUIwXPOdmCN8K+zOOA4A== X-Received: by 2002:a24:8dc6:: with SMTP id w189-v6mr2090893itd.19.1540501856463; Thu, 25 Oct 2018 14:10:56 -0700 (PDT) Received: from localhost.localdomain ([216.160.245.98]) by smtp.gmail.com with ESMTPSA id e65-v6sm3446375ioa.76.2018.10.25.14.10.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Oct 2018 14:10:55 -0700 (PDT) From: Jens Axboe To: linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, linux-ide@vger.kernel.org Cc: Jens Axboe Subject: [PATCH 06/28] blk-mq: remove the request_list usage Date: Thu, 25 Oct 2018 15:10:17 -0600 Message-Id: <20181025211039.11559-7-axboe@kernel.dk> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181025211039.11559-1-axboe@kernel.dk> References: <20181025211039.11559-1-axboe@kernel.dk> Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We don't do anything with it, that's just the legacy path. Signed-off-by: Jens Axboe Reviewed-by: Hannes Reinecke --- block/blk-mq.c | 5 ----- 1 file changed, 5 deletions(-) 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); }