From patchwork Mon Apr 22 20:32:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcelo Henrique Cerri X-Patchwork-Id: 1088893 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44nytl35XXz9s71; Tue, 23 Apr 2019 06:32:31 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1hIfc2-0006MV-RD; Mon, 22 Apr 2019 20:32:26 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1hIfc1-0006MO-7S for kernel-team@lists.ubuntu.com; Mon, 22 Apr 2019 20:32:25 +0000 Received: from mail-qk1-f199.google.com ([209.85.222.199]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1hIfc0-00066B-QC for kernel-team@lists.ubuntu.com; Mon, 22 Apr 2019 20:32:24 +0000 Received: by mail-qk1-f199.google.com with SMTP id z19so8650537qkj.5 for ; Mon, 22 Apr 2019 13:32:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=hV7JUZ42FxKO7mYPXU3CpNoegUja1FCp/W7wiRfwMRg=; b=FJli7YDis+plisywSA2qRUcoMbR0ci4KXza7IwFBoo/lWO5Gd5v1xkiQ7x0Y8EY1Ig suvHAcGM/QdX8rEGHqnrYKLpRWLZHHJhYciDfhbfhSHupP1CENKF5M0pg2Q/cmfD8zVU Ww6W3GNmyD9hfiZ6JE4Iy+SdAuZjAwBbVtWTaXyNf8NT5WYWO9Rwp+gkmh/BgoFKSDUl T00iWyzPAdhspHRDCEzrGAi2lkTEcgkMNcR1kwJxDxgPJXv7o/+XjhzK+LgWPQlXP7tJ kWqGO4Z2sToOJNrUM15JBevjLia/BUT+BFpIEnhSQNzA3kgZsecBRLDxj9xY1K0ukl7Z s4gg== X-Gm-Message-State: APjAAAVggMoaUdYEeGdMd2mPfkQD1zEKTbiFDMRFB4izEzupLRwqDOhQ 04I4VX6tMxI3X9KNAJCbHCWxPRsv1K8P825euCHgFAIP+AFV1FFjahewnGLsjHa54y5lTKZ15Up 2Afdg9VOyxd2rE0DKH/5Dfgh9xTYhI1SB4n0TDrYw X-Received: by 2002:ac8:308a:: with SMTP id v10mr17600595qta.185.1555965143576; Mon, 22 Apr 2019 13:32:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwhiEvxNlm1v6Tav/2ae9ip3PlyTICzIAjdi+3CSCt2ENSxtsiwe9dA2VElhHbxQcP4YRVOdg== X-Received: by 2002:ac8:308a:: with SMTP id v10mr17600569qta.185.1555965143323; Mon, 22 Apr 2019 13:32:23 -0700 (PDT) Received: from gallifrey.lan ([189.61.202.9]) by smtp.gmail.com with ESMTPSA id m60sm7203300qte.81.2019.04.22.13.32.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Apr 2019 13:32:22 -0700 (PDT) From: Marcelo Henrique Cerri To: kernel-team@lists.ubuntu.com Subject: [x/azure][PATCH] blk-mq: remove the request_list usage Date: Mon, 22 Apr 2019 17:32:17 -0300 Message-Id: <20190422203218.2200-1-marcelo.cerri@canonical.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Jens Axboe BugLink: http://bugs.launchpad.net/bugs/1819689 We don't do anything with it, that's just the legacy path. Reviewed-by: Hannes Reinecke Tested-by: Ming Lei Reviewed-by: Omar Sandoval Signed-off-by: Jens Axboe (backported from commit 7ac257b862f2cfba3a909d1051499d390cffad6c) [marcelo.cerri@canonical.com: fixed context] Signed-off-by: Marcelo Henrique Cerri Acked-by: Kleber Sacilotto de Souza --- block/blk-mq.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index 2f8436314985..caeffd5b59f9 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -501,9 +501,6 @@ void blk_mq_free_request(struct request *rq) wbt_done(q->rq_wb, &rq->issue_stat); - if (blk_rq_rl(rq)) - blk_put_rl(blk_rq_rl(rq)); - clear_bit(REQ_ATOM_STARTED, &rq->atomic_flags); clear_bit(REQ_ATOM_POLL_SLEPT, &rq->atomic_flags); if (rq->tag != -1) @@ -1637,8 +1634,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); }