Whamcloud - gitweb
LU-17392 build: compatibility updates for kernel 6.7
authorShaun Tancheff <shaun.tancheff@hpe.com>
Fri, 8 Mar 2024 01:18:58 +0000 (17:18 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 9 Mar 2024 07:44:52 +0000 (07:44 +0000)
commit3f72e836dc6c5fe3bd850146120eb08b4797ac3d
treed047b1cb9f50e3551e10a2f6d72f8321df2fdce2
parentd95e3580c76d52e0e57632592eb95a42eeb7d2ed
LU-17392 build: compatibility updates for kernel 6.7

Linux commit v6.6-rc4-53-gc42d50aefd17
  mm: shrinker: add infrastructure for dynamically allocating
      shrinker

Users of struct shrinker must dynamically allocate shrinker objects
to avoid run-time warnings.

Provide a wrapper for older kernels to alloc+register shinkers
and unregister+free.

Use get_group_info() and put_group_info() wrappers instead of
open coding the reference counting on group_info.usage

Lustre-change: https://review.whamcloud.com/53621
Lustre-commit: TBD (from 7e8165620e1943189d63ce4770c7722fa309a58e)

Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: Ie07bdb7fe3eb6060bd84f95f860f1b53d120a605
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54323
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/autoconf/lustre-core.m4
lustre/include/lustre_compat.h
lustre/ldlm/ldlm_pool.c
lustre/obdclass/idmap.c
lustre/obdclass/lu_object.c
lustre/osc/osc_request.c
lustre/ptlrpc/sec_bulk.c