Whamcloud - gitweb
LU-17081 build: compatibility for 6.5 kernels 97/59097/2
authorShaun Tancheff <shaun.tancheff@hpe.com>
Mon, 5 May 2025 17:03:42 +0000 (10:03 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 15 May 2025 07:31:05 +0000 (07:31 +0000)
commit247ae64877b38a0e9aae60fd496d253bfeba665d
treede81b1dbbd983e5004d9da5e1b915dcbbd0ef9b4
parent2dd7fcd948ea4d720f141c7224ddbcec9255cb0b
LU-17081 build: compatibility for 6.5 kernels

Linux commit v6.4-rc2-29-gc6585011bc1d
  splice: Remove generic_file_splice_read()

Prefer filemap_splice_read and provide alternates for older kernels.

Linux commit v6.4-rc2-30-g3fc40265ae2b
  iov_iter: Kill ITER_PIPE

ITER_PIPE and iov_iter_is_pipe() are removed, provide a replacement
for iov_iter_is_pipe

Linux commit v6.4-rc4-53-g54d020692b34
  mm/gup: remove unused vmas parameter from get_user_pages()

Use vma_lookup() to acquire the vma following get_user_pages()

Linux commit v6.4-rc7-1884-gdc97391e6610
  sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)
Use sendmsg when MSG_SPLICE_PAGES is defined. Provide a wrapper
using sendpage() for older kernels.

Lustre-change: https://review.whamcloud.com/52258
Lustre-commit: 2bb54b6383d57ac61092593b9e6d9c80801263f5

Was-Change-Id: I95a0954a602c8db08d30b38a50dcd50107c8f268

LU-17193 build: fix gcc-12 compiler warnings

Building on el9.2 hit a couple of new errors in configure, ex:
  ((struct inode_operations *)1)->fileattr_get()
hits:
  error: array subscript 0 is outside array bounds
         of ‘struct inode_operations[0]’

A few instances of QCTL_COPY() should be QCTL_COPY_NO_PNAME()
as the zero-length array to hold the pool name is not
allocated in these cases.

Lustre-change: https://review.whamcloud.com/52687
Lustre-commit: 1b0de05f81372eeda9a2a38142553ead7e88a431

Was-Change-Id: I72bda8b46c51dbd42fb42bf569ba29572526acfe

LU-13485 libcfs: Remove unused iter_type check

The iter_type member check is not used, remove it.

Lustre-change: https://review.whamcloud.com/48091
Lustre-commit: c755373c567090c49589e5aa0d3134847d4b952e

Was-Change-Id: I48d536a27738e73314feb88317d41d8479c72528

HPE-bug-id: LUS-11811
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I95a0954a602c8db08d30b38a50dcd50107c8f268
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59097
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/linux/linux-misc.h
lnet/klnds/socklnd/socklnd_lib.c
lustre/autoconf/lustre-core.m4
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/llite/file.c
lustre/lmv/lmv_obd.c
lustre/lov/lov_obd.c
lustre/mdc/mdc_request.c
lustre/obdclass/jobid.c
lustre/osd-ldiskfs/osd_internal.h