Whamcloud - gitweb
LU-17392 build: compatibility updates for kernel 6.7 21/53621/13
authorShaun Tancheff <shaun.tancheff@hpe.com>
Thu, 29 Feb 2024 20:55:58 +0000 (03:55 +0700)
committerJian Yu <yujian@whamcloud.com>
Wed, 6 Mar 2024 16:46:22 +0000 (16:46 +0000)
commit7e8165620e1943189d63ce4770c7722fa309a58e
treeb25c645c0b18b232a3a83f5d1b2385227e20d37f
parent223377dea7029118dd9c0deb1958bf7222117009
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
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