From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Snitzer Subject: Re: [PATCH 0/9] Introduce blk_quiesce_queue() and blk_resume_queue() Date: Mon, 26 Sep 2016 14:33:08 -0400 Message-ID: <20160926183308.GA13309@redhat.com> References: <7948dbb8-6333-dc62-2673-4da35b4dfdbc@sandisk.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <7948dbb8-6333-dc62-2673-4da35b4dfdbc-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Bart Van Assche Cc: Jens Axboe , Christoph Hellwig , James Bottomley , "Martin K. Petersen" , Doug Ledford , Keith Busch , "linux-block-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-nvme-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: linux-scsi@vger.kernel.org On Mon, Sep 26 2016 at 2:25pm -0400, Bart Van Assche wrote: > Hello Jens, > > Multiple block drivers need the functionality to stop a request > queue and to wait until all ongoing request_fn() / queue_rq() calls > have finished without waiting until all outstanding requests have > finished. Hence this patch series that introduces the > blk_quiesce_queue() and blk_resume_queue() functions. The dm-mq, SRP > and nvme patches in this patch series are three examples of where > these functions are useful. These patches apply on top of the > September 21 version of your for-4.9/block branch. The individual > patches in this series are: > > 0001-blk-mq-Introduce-blk_mq_queue_stopped.patch > 0002-dm-Fix-a-race-condition-related-to-stopping-and-star.patch > 0003-RFC-nvme-Use-BLK_MQ_S_STOPPED-instead-of-QUEUE_FLAG_.patch > 0004-block-Move-blk_freeze_queue-and-blk_unfreeze_queue-c.patch > 0005-block-Extend-blk_freeze_queue_start-to-the-non-blk-m.patch > 0006-block-Rename-mq_freeze_wq-and-mq_freeze_depth.patch > 0007-blk-mq-Introduce-blk_quiesce_queue-and-blk_resume_qu.patch > 0008-SRP-transport-Port-srp_wait_for_queuecommand-to-scsi.patch > 0009-RFC-nvme-Fix-a-race-condition.patch Hi Bart, How much testing has this series seen? Did you run it against the mptest testsuite? https://github.com/snitm/mptest I did notice patch 2 should come after patch 7 (not sure if other patches are out of order). Mike -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html