summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_pscsi.c
diff options
context:
space:
mode:
authorDamien Le Moal2016-07-21 05:40:47 +0200
committerJens Axboe2016-07-21 05:40:47 +0200
commit17007f3994cdb4643355c73f54f0adad006cf59e (patch)
treeac5aab0bf6211f1dc878872db5ec73f9b99bda5b /drivers/target/target_core_pscsi.c
parentblock: do not merge requests without consulting with io scheduler (diff)
downloadkernel-qcow2-linux-17007f3994cdb4643355c73f54f0adad006cf59e.tar.gz
kernel-qcow2-linux-17007f3994cdb4643355c73f54f0adad006cf59e.tar.xz
kernel-qcow2-linux-17007f3994cdb4643355c73f54f0adad006cf59e.zip
block: Fix front merge check
For a front merge, the maximum number of sectors of the request must be checked against the front merge BIO sector, not the current sector of the request. Signed-off-by: Damien Le Moal <damien.lemoal@hgst.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/target/target_core_pscsi.c')
0 files changed, 0 insertions, 0 deletions