summaryrefslogtreecommitdiffstats
path: root/block/blk-mq.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-12-08 16:49:06 +0100
committerJens Axboe <axboe@fb.com>2014-12-08 16:49:06 +0100
commit080ff3511450fd73948697fef34a3cc382675b59 (patch)
tree8ce40121a12ef2d48c0c094f3b3751069490a29b /block/blk-mq.c
parentblk-mq: fix hang in bt_get() (diff)
downloadlinux-080ff3511450fd73948697fef34a3cc382675b59.tar.xz
linux-080ff3511450fd73948697fef34a3cc382675b59.zip
blk-mq: re-check for available tags after running the hardware queue
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>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions