diff options
author | Jens Axboe <axboe@fb.com> | 2014-08-15 12:44:08 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-08-21 20:37:45 -0500 |
commit | 274a5843ff2f08a89464589d90c64eb65f2c0847 (patch) | |
tree | 6354be68a6e49f6b3579289e33cf15b75f6baa14 /README | |
parent | 8a58d1f1f373238cb0d6d7f8d3dd723aa164b8ac (diff) | |
download | op-kernel-dev-274a5843ff2f08a89464589d90c64eb65f2c0847.zip op-kernel-dev-274a5843ff2f08a89464589d90c64eb65f2c0847.tar.gz |
blk-mq: don't allow merges if turned off for the queue
blk-mq uses BLK_MQ_F_SHOULD_MERGE, as set by the driver at init time,
to determine whether it should merge IO or not. However, this could
also be disabled by the admin, if merging is switched off through
sysfs. So check the general queue state as well before attempting
to merge IO.
Reported-by: Rob Elliott <Elliott@hp.com>
Tested-by: Rob Elliott <Elliott@hp.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions