summaryrefslogtreecommitdiffstats
path: root/block/blk-lib.c
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2016-06-01 22:18:48 -0700
committerJens Axboe <axboe@fb.com>2016-06-02 11:47:32 -0600
commit87c279e613f848c691111b29d49de8df3f4f56da (patch)
treee703f929d5b33f435b393ffd4bc55623613e5254 /block/blk-lib.c
parent62a584fe05eef1f80ed49a286a29328f1a224fb9 (diff)
downloadlinux-0-day-87c279e613f848c691111b29d49de8df3f4f56da.tar.gz
linux-0-day-87c279e613f848c691111b29d49de8df3f4f56da.tar.xz
blk-mq: really fix plug list flushing for nomerge queues
Commit 0809e3ac6231 ("block: fix plug list flushing for nomerge queues") updated blk_mq_make_request() to set request_count even when blk_queue_nomerges() returns true. However, blk_mq_make_request() only does limited plugging and doesn't use request_count; blk_sq_make_request() is the one that should have been fixed. Do that and get rid of the unnecessary work in the mq version. Fixes: 0809e3ac6231 ("block: fix plug list flushing for nomerge queues") Signed-off-by: Omar Sandoval <osandov@fb.com> Reviewed-by: Ming Lei <tom.leiming@gmail.com> Reviewed-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-lib.c')
0 files changed, 0 insertions, 0 deletions