summaryrefslogtreecommitdiffstats
path: root/block/blk-mq.h
diff options
context:
space:
mode:
authorMinchan Kim <minchan@kernel.org>2017-03-30 07:20:45 +0200
committerJens Axboe <axboe@fb.com>2017-03-30 16:13:23 +0200
commitac77a0c463c1d7d659861f7b6d1261970dd3282a (patch)
treec9009d64ed977ea79e70d6cc0014e08af47c6283 /block/blk-mq.h
parentMerge branch 'for-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang... (diff)
downloadlinux-ac77a0c463c1d7d659861f7b6d1261970dd3282a.tar.xz
linux-ac77a0c463c1d7d659861f7b6d1261970dd3282a.zip
block: do not put mq context in blk_mq_alloc_request_hctx
In blk_mq_alloc_request_hctx, blk_mq_sched_get_request doesn't get sw context so we don't need to put the context with blk_mq_put_ctx. Unless, we will see preempt counter underflow. Cc: Omar Sandoval <osandov@fb.com> Signed-off-by: Minchan Kim <minchan@kernel.org> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq.h')
0 files changed, 0 insertions, 0 deletions