Whamcloud - gitweb
EX-7601 ofd: add checks to io_lnb_to_tx_lnb
authorPatrick Farrell <pfarrell@whamcloud.com>
Wed, 13 Dec 2023 23:33:16 +0000 (18:33 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 6 Jan 2024 08:20:12 +0000 (08:20 +0000)
commitc53f5fc6a1c6a1832217ebb76450120d18e42267
tree98ed460914eb03f422283883f776acf3c8224bdc
parent612963872ec0f3b4e14e9e2a33710d5e28130074
EX-7601 ofd: add checks to io_lnb_to_tx_lnb

We should always be able to find the remote niobuf in the
local io range, if we can't, there's a bug.  So assert on
this.

We should also never have page level overlapping remote IOs,
at least until we have unaligned DIO.  (We can remove this
check when we combine the features.)

Test-Parameters: trivial
Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I325d4a37d25c116e42621964e90b225b71fd8f1f
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53450
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/target/tgt_handler.c