On Tue, Jul 11, 2017 at 02:41:05PM -0400, Konrad Rzeszutek Wilk wrote: > On Wed, Jul 12, 2017 at 02:20:58AM +0800, Ming Lei wrote: > > This interfaces will be removed soon, so use quiesce and > > unquiesce instead, which should be more safe. > > 'should be'? That does not sound encouraging? Sorry for the mistake, and will fix it in V2, definitely quiesce is the preferred interface, also stop queue may not do what you want to do as you can see from comment of blk_mq_stop_hw_queues, and has caused much trouble already. And I appreciate if you guys may review on this patch itself. BTW, this patch should have been included in Sagi Grimberg's patchset of "[PATCH v3 0/8] correct quiescing in several block drivers": http://marc.info/?t=149927415900006&r=1&w=2 Thanks, Ming