From: Jens Axboe Date: Thu, 3 Sep 2015 16:28:20 +0000 (+0300) Subject: block: Check for gaps on front and back merges X-Git-Tag: omap-for-v4.3/fixes-rc5~111^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e7c4274a70aa2d6f485996d0ca1dad52d0039ca;p=pandora-kernel.git 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 [sagig: Minor rename change] Signed-off-by: Sagi Grimberg --- Reading git-diff-tree failed