]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq-sched: check for successful allocation before assigning tag
authorJens Axboe <axboe@fb.com>
Thu, 26 Jan 2017 21:52:20 +0000 (14:52 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 26 Jan 2017 21:52:20 +0000 (14:52 -0700)
commit5314647616d6e494e8d2f25725c639f4b8e002a1
tree658372c505c9b9ef2c3956e7450c928a107b6405
parent34f8960c141cd91594c181c0bdaab0a6464b32f8
blk-mq-sched: check for successful allocation before assigning tag

We don't trigger this from the normal IO path, since we always use
blocking allocations from there. But Bart saw it testing multipath
dm, since that is a heavy user of atomic request allocations in
the map and clone path.

Reported-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-sched.c