Whamcloud - gitweb
LU-17392 build: compatibility updates for kernel 6.7 21/53621/17
authorShaun Tancheff <shaun.tancheff@hpe.com>
Thu, 29 Feb 2024 20:55:58 +0000 (03:55 +0700)
committerOleg Drokin <green@whamcloud.com>
Sat, 23 Mar 2024 15:45:58 +0000 (15:45 +0000)
commit5cda4a3bdc8732ead043e05044fd6c998b61e512
treee9c25814b5814496ac60efffe9b6fcd043a680c1
parenta0e6d6f7327598d13661bb14098a9f21f2035285
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

Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: Ie07bdb7fe3eb6060bd84f95f860f1b53d120a605
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53621
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
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