Message ID | 20181029163444.9940-6-axboe@kernel.dk |
---|---|
State | Not Applicable |
Delegated to: | David Miller |
Headers | show
Return-Path: <linux-ide-owner@vger.kernel.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-ide-owner@vger.kernel.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel-dk.20150623.gappssmtp.com header.i=@kernel-dk.20150623.gappssmtp.com header.b="ZdZYY7sU"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42kKvT0VGsz9s3l for <incoming@patchwork.ozlabs.org>; Tue, 30 Oct 2018 03:35:01 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727868AbeJ3BYU (ORCPT <rfc822;incoming@patchwork.ozlabs.org>); Mon, 29 Oct 2018 21:24:20 -0400 Received: from mail-it1-f195.google.com ([209.85.166.195]:55403 "EHLO mail-it1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727519AbeJ3BYU (ORCPT <rfc822; linux-ide@vger.kernel.org>); Mon, 29 Oct 2018 21:24:20 -0400 Received: by mail-it1-f195.google.com with SMTP id e17so8675630itk.5 for <linux-ide@vger.kernel.org>; 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=P0f9VO8IYaIE8nfxsDFOXxSEIaU5wtfcB9AvxqeKkB6bSeXCRFUEYzSHHalp0CQFRH PIZKrCg+J1sfbAw3V/0Se1qMnb/BSDfYCYXMVdosuRhVgISe0fpox1g8R3cTOILreoxZ Z6A9W61HaYfZvz1cEfRaFCWfHl6zFBJy0rgCQzsW0ddEEh4AEYG5jvOHjv5/XGVp3T+e Oa3v1ZNmas2cJQm97UG9Icp8Y/QiPwMkI+BjQfQs6eR1LgTP3/7ZQPXwjYbjhTTkhf94 l06QboYdOzi4OZDhnOdp9oViL12UTcPylwpWK99qrBGtVtMa2T8lSc2tXWKdwnwo+R8X nM9g== X-Gm-Message-State: AGRZ1gKmiCjr+3+p+VuGg7XLLFMv5EzhyI0qQBz2V61G5z/p6AgsfXPh Szy299AhmHxLu6Qu+Dr2ZNp7jw== 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 <axboe@kernel.dk> To: linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, linux-ide@vger.kernel.org Cc: Jens Axboe <axboe@kernel.dk> 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-ide-owner@vger.kernel.org Precedence: bulk List-ID: <linux-ide.vger.kernel.org> X-Mailing-List: linux-ide@vger.kernel.org |
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); }