On Mon, Sep 25, 2017 at 01:29:19PM -0700, Bart Van Assche wrote: > From: Ming Lei <ming.lei@xxxxxxxxxx> > > 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.lei@xxxxxxxxxx> > [ 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.vanassche@xxxxxxx> > Cc: Ming Lei <ming.lei@xxxxxxxxxx> > Cc: Christoph Hellwig <hch@xxxxxx> > Cc: Hannes Reinecke <hare@xxxxxxxx> > Cc: Johannes Thumshirn <jthumshirn@xxxxxxx> > --- Thanks for considering block legacy path in this version! -- Ming