Whamcloud - gitweb
LU-17592 build: compatibility updates for kernel 6.8 29/54229/11
authorShaun Tancheff <shaun.tancheff@hpe.com>
Sun, 24 Mar 2024 08:33:15 +0000 (15:33 +0700)
committerJian Yu <yujian@whamcloud.com>
Tue, 2 Apr 2024 22:33:32 +0000 (22:33 +0000)
commit2036974a891ffac3ecffc7b2a21ca50bc6c94f78
treecf119fb12044d9e257af5e0749116637214b7c91
parent1da648a24984c94cccdf6686ab9c3aed28d32a47
LU-17592 build: compatibility updates for kernel 6.8

Linux commit v4.9-12227-g7b737965b331 introduced
  staging/lustre/libcfs: Convert to hotplug state machine
Linux commit v4.10-rc1-5-g4205e4786d0b
  cpu/hotplug: Provide dynamic range for prepare stage
Linux commit v6.7-rc2-1-g15bece7bec0d
  cpu/hotplug: Remove unused CPU hotplug states

CPUHP_LUSTRE_CFS_DEAD was introduced in 4.9 and removed in 6.8
CPUHP_BP_PREPARE_DYN was introduced in 4.10

With no distro kernels between 4.10 and 4.11 switch to
CPUHP_BP_PREPARE_DYN

Linux commit v6.7-rc1-3-gda549bdd15c2
  dentry: switch the lists of children to hlist
Provide trival wrappers to abstract the changed members

Linux commit v6.7-rc4-79-gaf7628d6ec19
  fs: convert error_remove_page to error_remove_folio
Proved a generic_error_remove_folio() for older kernels.

HPE-bug-id: LUS-12181
Fixes: ce98bfe5f72 ("LU-10499 pcc: add readonly mode for PCC")
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: Ib2e85c2acd3d0934e1c4712dad53b80f0ddb1b08
libcfs/autoconf/lustre-libcfs.m4
lnet/lnet/lib-cpt.c
lustre/autoconf/lustre-core.m4
lustre/include/lustre_compat.h
lustre/llite/dcache.c
lustre/llite/file.c
lustre/llite/namei.c
lustre/llite/vvp_io.c
lustre/llite/vvp_page.c
lustre/obdclass/cl_page.c
lustre/osd-ldiskfs/osd_io.c