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>
Fri, 13 Jun 2025 01:36:16 +0000 (21:36 -0400)
commit6d5afffb50fe524ab40308e6f2a2dbda3851b8b5
tree9fc876461e0eec1e314cb398733bafab88a0c99a
parentcdda21eeba238ec171840369dcc9a5db111a5eb7
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