Whamcloud - gitweb
LU-15544 osd: Handle removal of EXT4_GET_BLOCKS_KEEP_SIZE 34/49134/4
authorShaun Tancheff <shaun.tancheff@hpe.com>
Tue, 15 Nov 2022 03:29:50 +0000 (21:29 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 22 Nov 2022 04:22:21 +0000 (04:22 +0000)
commit978b296a76019bb93e5ef64336020e0b65e2636b
tree90ca83b69b7574f5cf74948577538f0c79f5bcfb
parent18e14c7099065891516b189467c0ff11ec7f470a
LU-15544 osd: Handle removal of EXT4_GET_BLOCKS_KEEP_SIZE

Linux commit v5.6-rc4-4-g4337ecd1fe99
  ext4: remove EXT4_EOFBLOCKS_FL and associated code

This change removes the define for EXT4_EOFBLOCKS_FL
as well as the enum value EXT_INODE_EOFBLOCKS.

Linux commit v5.7-rc4-4-g9e52484c7133
  ext4: remove EXT4_GET_BLOCKS_KEEP_SIZE flag

This change removes the define for EXT4_GET_BLOCKS_KEEP_SIZE

Fix the usage in osd_io.c to check for the existence of the
related definitions and remove the configure test.

Test-Parameters: trivial
Fixes: 791f656a03 ("LU-14776 ldiskfs: Add Ubuntu 20.04 HWE support")
HPE-bug-id: LUS-10744
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I883708ce2879f4d7d41ad3f7b75db2e751f6eb9b
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49134
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
config/lustre-build-ldiskfs.m4
lustre/osd-ldiskfs/osd_io.c