Whamcloud - gitweb
LU-13805 obd: Reserve unaligned DIO connect flag 75/51075/7
authorPatrick Farrell <pfarrell@whamcloud.com>
Wed, 9 Aug 2023 16:16:25 +0000 (12:16 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 24 Aug 2023 04:33:18 +0000 (04:33 +0000)
commit4c96cbf89dba5e4bf8ddf98a18b72142c22a4289
tree56b9ba4cf3df176b53cc2e6be2c1c628221db113
parent4df4ad20dea4c4c9e513d6e1e5384b974e380f65
LU-13805 obd: Reserve unaligned DIO connect flag

Unaligned DIO generally requires only client changes, but
an assert must be removed from ZFS servers for it to work
correctly.  This means we need a connect flag to recognize
whether or not a server running ZFS can safely use
unaligned DIO.

All OSTs will present this flag - to keep things simple -
but if the flag is not present, we'll still do unaligned
DIO to ldiskfs OSTs.

Actual implementation will be in another patch, this one
just creates the flag itself.

Test-Parameters: trivial
Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I8b149cc54f4fb11e64182c65f2fbb01f8a3d3868
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51075
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Qian Yingjin <qian@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_export.h
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/obdclass/lprocfs_status.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c