From patchwork Mon Oct 29 16:34:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Axboe X-Patchwork-Id: 10659583 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 DD62713B5 for ; Mon, 29 Oct 2018 16:35:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C10AD29C31 for ; Mon, 29 Oct 2018 16:35:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B2E9A29C43; Mon, 29 Oct 2018 16:35:01 +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 68AA129C31 for ; Mon, 29 Oct 2018 16:35:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727945AbeJ3BYU (ORCPT ); Mon, 29 Oct 2018 21:24:20 -0400 Received: from mail-it1-f193.google.com ([209.85.166.193]:52309 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727868AbeJ3BYU (ORCPT ); Mon, 29 Oct 2018 21:24:20 -0400 Received: by mail-it1-f193.google.com with SMTP id r5-v6so8313222ith.2 for ; Mon, 29 Oct 2018 09:34:59 -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=ZdZYY7sUS4a+uQof4vU8cBF9Zj0W9mt8fJt7QgQHtvgCuiyGJrgvT6Mzk+rh2zWHAR IkByPsSvkwlyCFnEF4gvU3wHLMREm2LwSY/eRdcCFJWyhb9+gvPy7+nm9GYcG74LR0jX n8KVRZ+Rg/N4ort1OFqO6H4fppcIBcrI1NxB40TlJZ1j75GSyFcTYlo7iYv9D9w5BIXl bPUaXA/RSamn8dVwHBUw7Nx2ns5cV+utJEInYzCpyH/BTHA5XaoHdQaSQrAcQ4VTjChm ijjyQtUA3KEoHHC2yfAKSyNmZKLxeFk5k0nyki11ESzXUG+NAWLsvKdjRS4TD0A0M1SG SCvA== 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=MwXKcSqCNJ7pmcfXrz/UDF+mSrOxwwuDAGLXk6H+bkKZjdu7ycanPEyljz3RStuLGL ZVnks4D20yVGyePe87tOS2KBTlK+g6fLM8REp/rsQGpaPuWfeCUfduIl2S8K7qHqzan3 +R8oja0ZE3s8s4etbSINabX+CMP8GltB20OQGSBTp1hVMGspyARNS35H/y8klItrYgVm tRuPFY3dQIF1QWncl82hIgRy27vhN2PdC9hAw5UYIuKFm8keLN+er0ePz1wq77chFLcG 7UUd4P3O5DfXVU+SfwjxHOUK8+moXOpWPFvrX/x6vnaVmqLdBJqzrohvfY9qSH9ZSSYy TKjw== X-Gm-Message-State: AGRZ1gLnI23OZ7zbFf0RY5s5IiN/R7Nx1vybUBwdfz3Re/4gWlZ6RgDA t4Gye8mjTbZ3LJjQFmY5RwjP6A== X-Google-Smtp-Source: AJdET5fAH6sBeaNSAlo6ENarm/5uPN8ONYmY2PBUPdFxD2HYnVVRRn4gSH0rgeUF9PbrjYRkWDzmmA== X-Received: by 2002:a24:4e0c:: with SMTP id r12-v6mr10252316ita.61.1540830899260; Mon, 29 Oct 2018 09:34:59 -0700 (PDT) Received: from localhost.localdomain ([216.160.245.98]) by smtp.gmail.com with ESMTPSA id n7-v6sm6464500itb.22.2018.10.29.09.34.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 09:34:57 -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 05/29] blk-mq: remove the request_list usage Date: Mon, 29 Oct 2018 10:34:20 -0600 Message-Id: <20181029163444.9940-6-axboe@kernel.dk> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181029163444.9940-1-axboe@kernel.dk> References: <20181029163444.9940-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. Reviewed-by: Hannes Reinecke Signed-off-by: Jens Axboe --- 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); }