Whamcloud - gitweb
LU-16350 ldiskfs: update for kernel 6.12 26/57126/14
authorShaun Tancheff <shaun.tancheff@hpe.com>
Fri, 11 Apr 2025 01:40:54 +0000 (08:40 +0700)
committerOleg Drokin <green@whamcloud.com>
Fri, 2 May 2025 02:17:53 +0000 (02:17 +0000)
commit9fe3951c4439c17f946212ad5f2f37ed83f0097d
tree4a7a736e85eef067c62a595394ff7bd2b1a96e85
parentdf2b5d99adfc6117a327f8e9102ba30076253213
LU-16350 ldiskfs: update for kernel 6.12

Update patches
   ext4-data-in-dirent.patch
   ext4-ext-merge.patch
   ext4-filename-encode.patch
   ext4-prealloc.patch
for kernel 6.12.

Linux commit v6.11-rc4-18-g4f05ee2f82b4
  ext4: store cookie in private data

If file private_data is not set and an open() handler
is defined then the file must be open()'d before proceeding
to iterate() over the directory.

This corresponds with the dropping of file->f_version member
which is replaced by the cookie in file->private_data.

Note that the file->open() handler will load the expected
cookie into file->private_data.

For older kernels the open() handler is not provided.

HPE-bug-id: LUS-11376
Test-Parameters: trivial
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: Ie64bb701f45a024dce4caefe0e3ee673e6cfe25a
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57126
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
config/lustre-build-ldiskfs.m4
ldiskfs/kernel_patches/patches/linux-6.12/ext4-data-in-dirent.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/linux-6.12/ext4-ext-merge.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/linux-6.12/ext4-filename-encode.patch [new file with mode: 0644]
ldiskfs/kernel_patches/patches/linux-6.12/ext4-prealloc.patch [new file with mode: 0644]
ldiskfs/kernel_patches/series/ldiskfs-6.12-ml.series [new file with mode: 0644]
lustre/osd-ldiskfs/osd_handler.c