Whamcloud - gitweb
LU-13805 osd: Implement unaligned DIO connect flag
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 1 Mar 2024 22:18:39 +0000 (15:18 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 3 Mar 2024 10:24:02 +0000 (10:24 +0000)
commit88d324be08a44364aea9ff73c362a5e4ed4aaf6e
tree4b43ee31aa94ebbe1899dfd2a546a8c12fb7c10c
parenta1e9b28126036316ad25403c61fb30a100223b03
LU-13805 osd: Implement unaligned DIO connect flag

Unupgraded ZFS servers may crash if they received unaligned
DIO, so we need a compat flag and a test to recognize those
servers.

This patch extracts server-side logic from two master patches
to improve interop testing, but does not implement client UDIO.

Lustre-change: https://review.whamcloud.com/51126
Lustre-commit: 0e6e60b1233b08952c338b2c4f121ef749a99f8b
Was-Change-Id: I5d6ee3fa5dca989c671417f35a981767ee55d6e2

Lustre-change: https://review.whamcloud.com/45616
Lustre-commit: 7194eb6431d2ef7245ef3b13394b60e220145187
Was-Change-Id: I7eeebf9a608f006c8095b95f0677adb99f19d640

Test-Parameters: trivial testlist=sanity env=ONLY=56 fstype=zfs
Test-Parameters: testlist=sanity env=ONLY=56 clientbuildno=4505 clientjob=lustre-master clientdistro=el8.8
Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I8b987c00f741a884ba28c18309cc2f90baf4809a
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54239
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/osd-zfs/osd_io.c