diff options
author | Jeff Moyer <jmoyer@redhat.com> | 2015-10-20 17:13:51 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-10-21 23:00:48 +0200 |
commit | 0809e3ac62319dc7534b64f95ac37e230d740e8a (patch) | |
tree | 70814dd32f930745834e4186445acf8dcbd1e3c1 /crypto | |
parent | blk-mq: remove unused blk_mq_clone_flush_request prototype (diff) | |
download | linux-0809e3ac62319dc7534b64f95ac37e230d740e8a.tar.xz linux-0809e3ac62319dc7534b64f95ac37e230d740e8a.zip |
block: fix plug list flushing for nomerge queues
Request queues with merging disabled will not flush the plug list after
BLK_MAX_REQUEST_COUNT requests have been queued, since the code relies
on blk_attempt_plug_merge to compute the request_count. Fix this by
computing the number of queued requests even for nomerge queues.
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions