From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA30FC07E9D for ; Thu, 29 Sep 2022 06:56:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234948AbiI2G4q (ORCPT ); Thu, 29 Sep 2022 02:56:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234910AbiI2G4p (ORCPT ); Thu, 29 Sep 2022 02:56:45 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C742212B5D2 for ; Wed, 28 Sep 2022 23:56:44 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 01BE868BFE; Thu, 29 Sep 2022 08:56:41 +0200 (CEST) Date: Thu, 29 Sep 2022 08:56:41 +0200 From: Christoph Hellwig To: Pankaj Raghav Cc: axboe@kernel.dk, hch@lst.de, damien.lemoal@opensource.wdc.com, linux-block@vger.kernel.org, gost.dev@samsung.com Subject: Re: [PATCH v2 2/2] block: use blk_mq_plug() wrapper consistently in the block layer Message-ID: <20220929065641.GB31325@lst.de> References: <20220929062425.91254-1-p.raghav@samsung.com> <20220929062425.91254-3-p.raghav@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220929062425.91254-3-p.raghav@samsung.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Thu, Sep 29, 2022 at 08:24:25AM +0200, Pankaj Raghav wrote: > Use blk_mq_plug() wrapper to get the plug instead of directly accessing > it in the block layer. I think this should explain why that is useful (or maybe even a bug fix?).