Message ID | 20181029163444.9940-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="bYYgoM+T"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42kKvW11rVz9s3l for <incoming@patchwork.ozlabs.org>; Tue, 30 Oct 2018 03:35:03 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727946AbeJ3BYW (ORCPT <rfc822;incoming@patchwork.ozlabs.org>); Mon, 29 Oct 2018 21:24:22 -0400 Received: from mail-it1-f195.google.com ([209.85.166.195]:35348 "EHLO mail-it1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727942AbeJ3BYW (ORCPT <rfc822; linux-ide@vger.kernel.org>); Mon, 29 Oct 2018 21:24:22 -0400 Received: by mail-it1-f195.google.com with SMTP id p64-v6so10168216itp.0 for <linux-ide@vger.kernel.org>; Mon, 29 Oct 2018 09:35:01 -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=bYYgoM+TnFIn6hfT9LrGlf3qonQ4rWvxp7dg1Z3s0cGy2FmmOn002CJHx5Irjtjfe+ H9EJag3bgAX/BdKy0fZiA4oKfI9EE0QZpxkCDhQiWTYfxLRyOoszk2kcWZ40DjtEzRM1 ZpqNjs9ZdyrnVdFsxUZT3akoIFYYK9Rt0pCaOB4QMvaj0zM++Tk12Y6auClQBHLoSPE6 8v19S/nUMttD5UbyZuW/njSWPjZcr/yupFN+xayvMET4pROJXSnSrJfBxMh+YiKOo6UX TeCzsK2FfDdNNaRyBswIyxkOdCTvtwJSllh+BY9gSF9nS97W4ScQK+RUe3oswa0jM7bL PTrA== 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=odqVcGHXJ9jfcuM0BZbIlIa5tjwURiXSYVrYctihb00X10Mm9pQplIXXqLKdpzjD+J Qp1lmFR1qHok0PxcVsgmsqyUljorpsgalE5ak/6FgLO+GJ7dC0rLdxwLJDpNT4imtesP lAWtA5lQqy6UEZFb7UVH/S61f2LFJPlTTSop2hhbHv4zYP4/64nCUbRe3a6aVt3Nc2gs 6l0vOgFLkbNxtllwVimRp3ryctY99qineBt/1YX6m/ozzB4pGbTIkyDnJx9oiO5iT192 PLZa2CKZJid5oObyaBrvfg5hTO/JU77ku+CdNkoz6d5Rz7AqKrO4rKKb+0OqQRnpnpvq KJxw== X-Gm-Message-State: AGRZ1gItWUJ3oiv9E5wSOTRQAcwkYINt3ZR7THsOtsIaV2+r7uPGNAxy vtXGOp/zU8V77zG+eV0QoLA41w== X-Google-Smtp-Source: AJdET5fK17wynsXHw7nxjXVV2u2qBs38rSwOqIWCUWUVcDWJgjq6HTstpCtU+iXXIcgcNnLPkx7TKQ== X-Received: by 2002:a24:7c07:: with SMTP id a7-v6mr7884936itd.42.1540830901525; Mon, 29 Oct 2018 09:35:01 -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.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 09:35:00 -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 06/29] blk-mq: remove legacy check in queue blk_freeze_queue() Date: Mon, 29 Oct 2018 10:34:21 -0600 Message-Id: <20181029163444.9940-7-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 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); }