commit | 0809e3ac62319dc7534b64f95ac37e230d740e8a | [log] [tgz] |
---|---|---|
author | Jeff Moyer <jmoyer@redhat.com> | Tue Oct 20 23:13:51 2015 +0800 |
committer | Jens Axboe <axboe@fb.com> | Wed Oct 21 15:00:48 2015 -0600 |
tree | 70814dd32f930745834e4186445acf8dcbd1e3c1 | |
parent | 3380f4589f6d9725e275525fd0580c8ee2b5cbbc [diff] |
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>