Whamcloud - gitweb
LU-18925 libcfs: prefer kmap_local_page
authorShaun Tancheff <shaun.tancheff@hpe.com>
Wed, 4 Jun 2025 18:49:03 +0000 (01:49 +0700)
committerOleg Drokin <green@linuxhacker.ru>
Tue, 17 Jun 2025 05:02:33 +0000 (01:02 -0400)
commit2a66df6c11bbea7bdbb9e10274fc2a44f8a621c9
treecb850939d83207c64815d0771e3efe787a0a44d0
parent0f828afae7861dfa9eac4d9889592d326bed2aa4
LU-18925 libcfs: prefer kmap_local_page

Prefer kmap_local* in favor of kmap and kmap_atomic in preparation
of conversion to struct folio and kmap_local_folio

Provide ll_kmap_local_page alias to maintain mapping to
kmap_atomic use in older kernels.

Provide kmap_local_page mapping to kmap for older kernels

Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I89ec7de9b6317a72df739500c0c3a942568e5eeb
33 files changed:
config/lustre-libcfs.m4
libcfs/libcfs/tracefile.c
lnet/klnds/gnilnd/gnilnd_cb.c
lnet/klnds/socklnd/socklnd_lib.c
lnet/lnet/lib-move.c
lnet/lnet/lnet-crypto.c
lustre/include/lu_object.h
lustre/include/obd_support.h
lustre/llite/dir.c
lustre/llite/file.c
lustre/llite/rw26.c
lustre/lmv/lmv_obd.c
lustre/lov/lov_page.c
lustre/mdc/mdc_request.c
lustre/mdd/mdd_object.c
lustre/mdt/mdt_io.c
lustre/mgc/mgc_request.c
lustre/mgc/mgc_request_server.c
lustre/mgs/mgs_nids.c
lustre/obdclass/dt_object.c
lustre/obdclass/integrity.c
lustre/obdclass/jobid.c
lustre/obdecho/echo.c
lustre/obdecho/echo_client.c
lustre/osc/osc_request.c
lustre/osd-ldiskfs/osd_integrity.c
lustre/osd-ldiskfs/osd_io.c
lustre/osd-zfs/osd_io.c
lustre/osp/osp_internal.h
lustre/osp/osp_object.c
lustre/ptlrpc/sec_plain.c
lustre/quota/qsd_reint.c
lustre/target/tgt_handler.c