Whamcloud - gitweb
EX-7601 ofd: identify reads to round
authorPatrick Farrell <pfarrell@whamcloud.com>
Fri, 27 Oct 2023 18:37:11 +0000 (14:37 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 30 Nov 2023 17:15:23 +0000 (17:15 +0000)
commit13d38690ca393216c5a24482e1ef6c13830805b5
tree293daf6eaf5608e5d7665a4f95b199927b091f05
parent3b1a8af200306ae49e84772a50c81f2025eceefa
EX-7601 ofd: identify reads to round

If the beginning or end of a client read is unaligned, we
must round the locking.  This patch identifies reads where
this is required, the next patch will do the locking.

Print a debug message when such an IO is found, but don't
do anything different - yet.

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: Ibdab35b733225b4b1349ef457f66ca37dcb2d9bf
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52863
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Artem Blagodarenko <ablagodarenko@ddn.com>
lustre/target/tgt_handler.c