summaryrefslogtreecommitdiffstats
path: root/block/blk-mq.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-09-19 16:04:53 +0200
committerJens Axboe <axboe@fb.com>2014-09-22 19:55:23 +0200
commit6b55e1f2d0a5e462e52678278ab749468f1db81c (patch)
tree8d5c5d578cba71e51d11f2231f5528d0aa9dd7e0 /block/blk-mq.h
parentblk-mq: avoid infinite recursion with the FUA flag (diff)
downloadlinux-6b55e1f2d0a5e462e52678278ab749468f1db81c.tar.xz
linux-6b55e1f2d0a5e462e52678278ab749468f1db81c.zip
blk-mq: fix potential oops on out-of-memory in __blk_mq_alloc_rq_maps()
__blk_mq_alloc_rq_maps() can be invoked multiple times, if we scale back the queue depth if we are low on memory. So don't clear set->tags when we fail, this is handled directly in the parent function, blk_mq_alloc_tag_set(). Reported-by: Robert Elliott <Elliott@hp.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq.h')
0 files changed, 0 insertions, 0 deletions