diff options
author | Omar Sandoval | 2016-06-02 07:18:48 +0200 |
---|---|---|
committer | Jens Axboe | 2016-06-02 19:47:32 +0200 |
commit | 87c279e613f848c691111b29d49de8df3f4f56da (patch) | |
tree | e703f929d5b33f435b393ffd4bc55623613e5254 /init/calibrate.c | |
parent | writeback: use higher precision calculation in domain_dirty_limits() (diff) | |
download | kernel-qcow2-linux-87c279e613f848c691111b29d49de8df3f4f56da.tar.gz kernel-qcow2-linux-87c279e613f848c691111b29d49de8df3f4f56da.tar.xz kernel-qcow2-linux-87c279e613f848c691111b29d49de8df3f4f56da.zip |
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 'init/calibrate.c')
0 files changed, 0 insertions, 0 deletions