Re: [PATCH v2 4/7] blk-mq: Introduce blk_quiesce_queue() and blk_resume_queue()
From: Hannes Reinecke <hare@suse.de>
Date: 2016-09-29 05:52:04
Also in:
linux-nvme, linux-rdma, linux-scsi
From: Hannes Reinecke <hare@suse.de>
Date: 2016-09-29 05:52:04
Also in:
linux-nvme, linux-rdma, linux-scsi
On 09/29/2016 01:59 AM, Bart Van Assche wrote:
blk_quiesce_queue() prevents that new queue_rq() invocations occur and waits until ongoing invocations have finished. This function does *not* wait until all outstanding requests have finished (this means invocation of request.end_io()). blk_resume_queue() resumes normal I/O processing. Signed-off-by: Bart Van Assche <redacted> Cc: Hannes Reinecke <hare@suse.com> Cc: Johannes Thumshirn <redacted> --- block/blk-mq.c | 137 ++++++++++++++++++++++++++++++++++++++++++++----- include/linux/blk-mq.h | 2 + include/linux/blkdev.h | 5 ++ 3 files changed, 131 insertions(+), 13 deletions(-)
Reviewed-by: Hannes Reinecke <hare@suse.com> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)