summaryrefslogtreecommitdiffstats
path: root/block/blk-integrity.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2015-09-03 19:28:20 +0300
committerJens Axboe <axboe@fb.com>2015-09-03 10:33:09 -0600
commit5e7c4274a70aa2d6f485996d0ca1dad52d0039ca (patch)
treedce51421028d162af78514b631dc75a6be92cf11 /block/blk-integrity.c
parent5fdb7e1b976dc9d18aff8c711e51d17c4c324a0e (diff)
downloadlinux-0-day-5e7c4274a70aa2d6f485996d0ca1dad52d0039ca.tar.gz
linux-0-day-5e7c4274a70aa2d6f485996d0ca1dad52d0039ca.tar.xz
block: Check for gaps on front and back merges
We are checking for gaps to previous bio_vec, which can only detect back merges gaps. Moreover, at the point where we check for a gap, we don't know if we will attempt a back or a front merge. Thus, check for gap to prev in a back merge attempt and check for a gap to next in a front merge attempt. Signed-off-by: Jens Axboe <axboe@fb.com> [sagig: Minor rename change] Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Diffstat (limited to 'block/blk-integrity.c')
0 files changed, 0 insertions, 0 deletions