From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-by2nam03on0062.outbound.protection.outlook.com ([104.47.42.62]:20835 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933914AbcJ0P5B (ORCPT ); Thu, 27 Oct 2016 11:57:01 -0400 Subject: Re: [PATCH 05/12] blk-mq: Introduce blk_mq_quiesce_queue() To: Hannes Reinecke , Jens Axboe References: <5143c240-39af-9fe2-d3e6-ed69f9c20531@sandisk.com> CC: Christoph Hellwig , James Bottomley , "Martin K. Petersen" , Mike Snitzer , Doug Ledford , Keith Busch , Ming Lei , Laurence Oberman , "linux-block@vger.kernel.org" , "linux-scsi@vger.kernel.org" , "linux-rdma@vger.kernel.org" , "linux-nvme@lists.infradead.org" From: Bart Van Assche Message-ID: <5227b122-8c10-5f63-4448-499fc645cfbd@sandisk.com> Date: Thu, 27 Oct 2016 08:56:50 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Sender: linux-block-owner@vger.kernel.org List-Id: linux-block@vger.kernel.org On 10/26/2016 10:52 PM, Hannes Reinecke wrote: > Hmm. Can't say I like having to have two RCU structure for the same > purpose, but I guess that can't be helped. Hello Hannes, There are two RCU structures because of BLK_MQ_F_BLOCKING. Today only the nbd driver sets that flag. If the nbd driver would be modified such that it doesn't set that flag then the BLK_MQ_F_BLOCKING flag and also queue_rq_srcu could be eliminated from the blk-mq core. Bart.