diff options
author | Omar Sandoval <osandov@fb.com> | 2016-06-01 22:18:48 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-06-02 11:47:32 -0600 |
commit | 87c279e613f848c691111b29d49de8df3f4f56da (patch) | |
tree | e703f929d5b33f435b393ffd4bc55623613e5254 /Documentation | |
parent | 62a584fe05eef1f80ed49a286a29328f1a224fb9 (diff) |
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 'Documentation')
0 files changed, 0 insertions, 0 deletions