summaryrefslogtreecommitdiffstats
path: root/block/blk-mq.h
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2017-02-27 19:28:27 +0100
committerJens Axboe <axboe@fb.com>2017-03-02 16:56:04 +0100
commit6d2809d51a5079f01a416d91dd63b0766cb685d0 (patch)
tree7f8b40edd637604227357062ce0c63be550b8ea4 /block/blk-mq.h
parentblk-mq-sched: Allocate sched reserved tags as specified in the original queue... (diff)
downloadlinux-6d2809d51a5079f01a416d91dd63b0766cb685d0.tar.xz
linux-6d2809d51a5079f01a416d91dd63b0766cb685d0.zip
blk-mq: make blk_mq_alloc_request_hctx() allocate a scheduler request
blk_mq_alloc_request_hctx() allocates a driver request directly, unlike its blk_mq_alloc_request() counterpart. It also crashes because it doesn't update the tags->rqs map. Fix it by making it allocate a scheduler request. Reported-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com> Tested-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'block/blk-mq.h')
0 files changed, 0 insertions, 0 deletions