Skip to content
Commit bfd343aa authored by Keith Busch's avatar Keith Busch Committed by Jens Axboe
Browse files

blk-mq: don't wait in blk_mq_queue_enter() if __GFP_WAIT isn't set



Return -EBUSY if we're unable to enter a queue immediately when
allocating a blk-mq request without __GFP_WAIT.

Signed-off-by: default avatarKeith Busch <keith.busch@intel.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent b94ec296
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment