On 10/17/2017 01:28 AM, Bart Van Assche wrote: > From: Ming Lei <ming....@redhat.com> > > This patch makes it possible to pause request allocation for > the legacy block layer by calling blk_mq_freeze_queue() and > blk_mq_unfreeze_queue(). > > Signed-off-by: Ming Lei <ming....@redhat.com> > [ bvanassche: Combined two patches into one, edited a comment and made sure > REQ_NOWAIT is handled properly in blk_old_get_request() ] > Signed-off-by: Bart Van Assche <bart.vanass...@wdc.com> > Reviewed-by: Christoph Hellwig <h...@lst.de> > Reviewed-by: Johannes Thumshirn <jthumsh...@suse.de> > Tested-by: Martin Steigerwald <mar...@lichtvoll.de> > Cc: Ming Lei <ming....@redhat.com> > Cc: Hannes Reinecke <h...@suse.com> > --- > block/blk-core.c | 12 ++++++++++++ > block/blk-mq.c | 10 ++-------- > 2 files changed, 14 insertions(+), 8 deletions(-) > Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking h...@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)