Message ID | 20181031175922.8849-29-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="tNDh3sOc"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42lbj41kbfz9s8F for <incoming@patchwork.ozlabs.org>; Thu, 1 Nov 2018 05:00:24 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730216AbeKAC71 (ORCPT <rfc822;incoming@patchwork.ozlabs.org>); Wed, 31 Oct 2018 22:59:27 -0400 Received: from mail-it1-f196.google.com ([209.85.166.196]:53252 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730217AbeKAC71 (ORCPT <rfc822; linux-ide@vger.kernel.org>); Wed, 31 Oct 2018 22:59:27 -0400 Received: by mail-it1-f196.google.com with SMTP id y73-v6so2909572itc.3 for <linux-ide@vger.kernel.org>; Wed, 31 Oct 2018 11:00:22 -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=FS5c/SffmP4Mo5k8HAlOlXFCjUoVNd2qr5BWZEsMEe4=; b=tNDh3sOcKDmvrZ1JB1nd7dx6eHRJe4Jw4WaGyU4oj68q8dEidUkM51Z/b5sAuvtaxo 42XxcfuUp4QDue0o3f1pctFW7wwK3bdFe8V/1c8ixnuI7JhQ8G8wQzSAfgbMS3pLivDB GI34kTlR9v4jAYJSSpIIKdqFW7+bCjD+MRiGboW2WJTzyibIuE4RyxJve8nktRQEhKbW r9rgFK1tvJrUn5TtlyhxCDXLwJQxVtRr4rcaWOMmciSFbd66M48KsWQoIzfH6wi74lOQ 7Px4fDFowy2LQrTUlygG8+c+X84yuGyuTr83dmsQHzErr4LM2XJqB6yw578gxJWArIst 0qRg== 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=FS5c/SffmP4Mo5k8HAlOlXFCjUoVNd2qr5BWZEsMEe4=; b=TCT5hzJTGobmkvWS7zJOqGJ1gkhR+Ma4SdY+zKHYQ7YmxAK5d4qPGI1CwoPEyHumKv hjenALEivitejAzQGoi7EU3hzysnr+JHYtWsTeLHg5EemFRRd/NRudanDUcYWnx70KNZ esZBEX9Iw3dzBnhqjVqrGSd8jE/yXBFPRG3azv9Z3qkEbm5ynyidLD8g4nd7u0kZy3a5 JCFdhPzRq8YjEWiWia1lFL2IDfX0n9eXduW+X4SLkz1kG2ppT0Jp64QsMpFz+iMlb89K OCBgGRF6Z6GJU1KW5Xqc7oYwO80x2inzEfUh7Oua5Zm/qacf1Nthrlsu6OZT92bPqVIQ wHSg== X-Gm-Message-State: AGRZ1gKTOW2upjb/tpFWoLeE++yLbejVNPSgNgVzf/x0fZbCNFOQ4yRS ntjTv63Y2/j1eUrBpIc9k3o1heQUYiE= X-Google-Smtp-Source: AJdET5dVMAwgFIHU42G7dHvmbNHtU4FlmvLJY2MFBYfTX3g8aolMslA+iZQqCZ923gkAYtnGIVt99Q== X-Received: by 2002:a24:98d4:: with SMTP id n203-v6mr2765551itd.172.1541008822420; Wed, 31 Oct 2018 11:00:22 -0700 (PDT) Received: from localhost.localdomain ([216.160.245.98]) by smtp.gmail.com with ESMTPSA id 197-v6sm10982947iou.87.2018.10.31.11.00.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Oct 2018 11:00:21 -0700 (PDT) From: Jens Axboe <axboe@kernel.dk> To: linux-block@vger.kernel.org, linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org Cc: Jens Axboe <axboe@kernel.dk> Subject: [PATCH 28/30] blk-merge: kill dead queue lock held check Date: Wed, 31 Oct 2018 11:59:20 -0600 Message-Id: <20181031175922.8849-29-axboe@kernel.dk> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181031175922.8849-1-axboe@kernel.dk> References: <20181031175922.8849-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-merge.c b/block/blk-merge.c index 3561dcce2260..0128284bded4 100644 --- a/block/blk-merge.c +++ b/block/blk-merge.c @@ -704,9 +704,6 @@ static void blk_account_io_merge(struct request *req) static struct request *attempt_merge(struct request_queue *q, struct request *req, struct request *next) { - if (!q->mq_ops) - lockdep_assert_held(q->queue_lock); - if (!rq_mergeable(req) || !rq_mergeable(next)) return NULL;