Message ID | 20181031175922.8849-7-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="z2CBa1eq"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42lbhD6zqFz9s8F for <incoming@patchwork.ozlabs.org>; Thu, 1 Nov 2018 04:59:40 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730037AbeKAC6o (ORCPT <rfc822;incoming@patchwork.ozlabs.org>); Wed, 31 Oct 2018 22:58:44 -0400 Received: from mail-it1-f195.google.com ([209.85.166.195]:38436 "EHLO mail-it1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730156AbeKAC6n (ORCPT <rfc822; linux-ide@vger.kernel.org>); Wed, 31 Oct 2018 22:58:43 -0400 Received: by mail-it1-f195.google.com with SMTP id j9so7652699itl.3 for <linux-ide@vger.kernel.org>; Wed, 31 Oct 2018 10:59:39 -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=BDgmKqhGidIy3bbORfrpV6rgHboOwIOrefGNmzuwToU=; b=z2CBa1eqfd9MzvZ+Yf3p+AFkSVWqeX25p5EUpmJVwPPXQku5qveOytQiO2Fpwj1TJs 0pdzY2eouNL46iKqXENiB9eWYdeV8LCFQDmMLYhu0jCGwFn2o7DzLcMmJgYXS5uQv/zy eaVoFFYS3yz2DwayS+RrLsvcYeGunk6dJu1iKUjQekCQhPruAxQ+sASCv0d96wSxJQVf FRGyPVYnPhTYRa+StLSnE+vv7WzV9S3+fbjYnyYmVpiBUwphQFHxojYgX2FrbDZx+w5C YHESXMC5W+lKnjV7DP8wKMkdzAqnZHeMQIgv2EY7maqbymJXj6tfiGBop6ZJr5yglvVx o0NA== 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=BDgmKqhGidIy3bbORfrpV6rgHboOwIOrefGNmzuwToU=; b=VrXEhE0pZwCbc0GYG2IKeJHWkmwnE/ytZ+z2nfRaKfAAawC62oX7J1tNeor75hrBz0 E+SNwGeEbbV9UQky8f5vRxWAGy9ZVmJmxC/KDFIDBEkOsrqzIid0ytKA8LbFe/ZNvz9r dTVp2/rbKzZoLgZiqLB9aVHan5C7R84Q9pWDqs6AuA1smP7/4NJcxdYGnVTT9CrzpHkf K8T+4kXOvNYmsbTFOR2ElgIwbMVwVTfYrbIqInZkrmGMl2v3uVGIki2pSyOTUH007w1X uWDeCLw9Cv03Juu2mBj1+Sj0y96B+KolJufhh5D/fEnVhGLZP94yMc5kSMS8SZZUv8jU R+tQ== X-Gm-Message-State: AGRZ1gLoHyKqI0qph3HMcH49OmfAQyXZgCUtZkIZhrQgCfd1+lqKFdlu AeIDlU9Gue0Ls06ZTuOpW38ydw== X-Google-Smtp-Source: AJdET5cLhKcd8bERC3nyC8Eo5XbOH4081JIzCdTphA4/bP60LO08QWcMYptq0h6M9fMDqBZP8+CuzA== X-Received: by 2002:a02:7ed5:: with SMTP id g82-v6mr3116541jae.71.1541008779126; Wed, 31 Oct 2018 10:59:39 -0700 (PDT) Received: from localhost.localdomain ([216.160.245.98]) by smtp.gmail.com with ESMTPSA id 197-v6sm10982947iou.87.2018.10.31.10.59.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Oct 2018 10:59:37 -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 06/30] blk-mq: remove legacy check in queue blk_freeze_queue() Date: Wed, 31 Oct 2018 11:58:58 -0600 Message-Id: <20181031175922.8849-7-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-mq.c b/block/blk-mq.c index 4c82dc44d4d8..a58d2d953876 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -177,8 +177,6 @@ void blk_freeze_queue(struct request_queue *q) * exported to drivers as the only user for unfreeze is blk_mq. */ blk_freeze_queue_start(q); - if (!q->mq_ops) - blk_drain_queue(q); blk_mq_freeze_queue_wait(q); }