blk-mq: re-check for available tags after running the hardware queue
authorJens Axboe <axboe@fb.com>
Mon, 8 Dec 2014 15:49:06 +0000 (08:49 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 8 Dec 2014 15:49:06 +0000 (08:49 -0700)
If we run out of tags and have to sleep, we run the hardware queue
to kick pending IO into gear. During that run, we may have completed
requests, so re-check if we have free tags before going to sleep.

Signed-off-by: Jens Axboe <axboe@fb.com>

No differences found