diff options
author | Keith Busch <keith.busch@intel.com> | 2015-02-11 08:20:13 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-02-11 09:23:52 -0700 |
commit | 854fbb9c699e34fe4889e6907c4fc73889192223 (patch) | |
tree | 862ba8836f31df9793c5efb23e8bd04d5b2dad1d /block/t10-pi.c | |
parent | 201f201c33220f53856fd300e1990b779538d67f (diff) | |
download | linux-854fbb9c699e34fe4889e6907c4fc73889192223.tar.bz2 |
block: prevent request-to-request merging with gaps if not allowed
If the queue has SG_GAPS set, we must not merge across an sg gap.
This is caught for the bio case, but currently not for the
more rare case of merging two requests directly.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Cut the dm bits, those will go through the dm tree, and fixed
the test_bit() test.
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/t10-pi.c')
0 files changed, 0 insertions, 0 deletions