From patchwork Wed May 29 18:18:42 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: 1107329 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 45Df9b3jKHz9sCJ; Thu, 30 May 2019 04:18:59 +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 1hW3A7-0007Ub-F8; Wed, 29 May 2019 18:18:55 +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 1hW3A4-0007Tz-Tl for kernel-team@lists.ubuntu.com; Wed, 29 May 2019 18:18:52 +0000 Received: from mail-qk1-f198.google.com ([209.85.222.198]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1hW3A4-00069O-Gg for kernel-team@lists.ubuntu.com; Wed, 29 May 2019 18:18:52 +0000 Received: by mail-qk1-f198.google.com with SMTP id i4so2586603qkk.22 for ; Wed, 29 May 2019 11:18:52 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=zBoui3ICZv+tFDzXo6gEO2G/WEf6UqDhkoAUGSH/3H0=; b=Hu794fUgjzijBNK7iJwKMQ3z8zOzeGh0kfNzPY+t+m7kIhxE3aQGCsZNk2BGQrucQy mT3pdMoU4v6T7lg5/VtgCI2AsDGI6S2sbcRqv5AhIy3LTSO4kUP71kSLO/p9ksI9+tB7 4AkzwPD+kvFShdcJs9IIdu+aiDrmRs3pbmoVHn7VGlFyoXsoM9dsFbjUCyFwyOs4XTAX 7uo/nLFLxeHB5gjIERld1iUqImr2GOQalqEtHvcY5F6++jiawHV33SqaivDyVPHMs+Wy nwxOEDV2CcVq8Q5Vbt/EQM+RPW9OP0z5pUxelGWSRKmwHu+6VqM7oLJ23L7WaVQLT1Pa Yyig== X-Gm-Message-State: APjAAAWHNNolT7Q7uHD0pJk4/D1fzw51Ogc6cLnsVRJkZBrpH+XzAh8/ N2AUMHoI1HJLRa/Sq756T5DwFj+156xLXqlHcvpd0JoaMOR9OThws7t9zyWt3tuLOXOkqERSYp/ GptFJh6LkZBJJvvpBQFAo7jEoRRkiPCh78iqS6Idz X-Received: by 2002:a37:72c7:: with SMTP id n190mr97131280qkc.189.1559153931248; Wed, 29 May 2019 11:18:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyCk+5l8k1l3YCk3geUcUtudhjRzYdpVJH6xmbjg674t3RzafbiBeJH87fwYNbNLZXJew1YnQ== X-Received: by 2002:a37:72c7:: with SMTP id n190mr97131262qkc.189.1559153930962; Wed, 29 May 2019 11:18:50 -0700 (PDT) Received: from gallifrey.lan ([2804:14c:4e3:4a76:acfb:3ff5:b0d4:d195]) by smtp.gmail.com with ESMTPSA id i123sm128350qkd.32.2019.05.29.11.18.49 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 29 May 2019 11:18:50 -0700 (PDT) From: Marcelo Henrique Cerri To: kernel-team@lists.ubuntu.com Subject: [x/azure][PATCH 1/3] blk-mq: remove the request_list usage Date: Wed, 29 May 2019 15:18:42 -0300 Message-Id: <20190529181844.24579-2-marcelo.cerri@canonical.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190529181844.24579-1-marcelo.cerri@canonical.com> References: <20190529181844.24579-1-marcelo.cerri@canonical.com> 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/1830242 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] Acked-by: Stefan Bader Acked-by: Kleber Sacilotto de Souza Signed-off-by: Marcelo Henrique Cerri --- block/blk-mq.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index 67a80fd597e1..a8e530027a3e 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); }