Whamcloud - gitweb
LU-11064 lnd: determine gaps correctly 86/32586/4
authorAmir Shehata <amir.shehata@intel.com>
Wed, 30 May 2018 20:22:11 +0000 (13:22 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 18 Jul 2018 05:59:04 +0000 (05:59 +0000)
commite40ea6fd4494b86d26a9d459f7bf620d816af4e1
treed5ee98fe8cd11d2e37ff044a682e6f3384172836
parent00c72ab6bb432ee1312282eed3dfae23ab8d0b42
LU-11064 lnd: determine gaps correctly

We're allowed to start at a non-aligned page offset in the first
fragment and end at a non-aligned page offset in the last fragment.

When checking the iovec exclude both of the first and last fragments
from the tx_gaps check.

Test-Parameters: trivial
Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: I8a9231db7db404a5d5a6294ff263c1bd2ac28e6c
Reviewed-on: https://review.whamcloud.com/32586
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Doug Oucharek <dougso@me.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd_cb.c