Whamcloud - gitweb
LU-16314 llite: Migrate LASSERTF %p to %px 13/51213/8
authorShaun Tancheff <shaun.tancheff@hpe.com>
Tue, 6 Jun 2023 03:44:53 +0000 (10:44 +0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 15 Feb 2024 07:05:09 +0000 (07:05 +0000)
commited389ce352db327117c85460e81767e2594cce7c
tree0f8e92149bf61d22cc8b0a1e5efa0abfefe35950
parent5bbdc97967b15a665e1263790fe729c576a90e5f
LU-16314 llite: Migrate LASSERTF %p to %px

This change covers lustre/ec through lustre/mgs and
converts LASSERTF statements to explicitly use %px.

Use %px to explicitly report the non-hashed pointer value
messages printed when a kernel panic is imminent. When
analyzing a crash dump the associated kernel address can
be used to determine the system state that lead to the
system crash.

As crash dumps can and are provided by customers from
production systems the use of the kernel command line
parameter:
    no_hash_pointers
is not always possible.

Ref: Documentation/core-api/printk-formats.rst

Test-Parameters: trivial
HPE-bug-id: LUS-10945
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I708d9ef60c63f5b4006c7986599a2f39fc9e5fdf
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51213
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Petros Koutoupis <petros.koutoupis@hpe.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
13 files changed:
lustre/include/lustre_export.h
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_request.c
lustre/llite/file.c
lustre/llite/llite_lib.c
lustre/llite/rw.c
lustre/llite/vvp_io.c
lustre/lmv/lmv_obd.c
lustre/lod/lod_dev.c
lustre/mdc/mdc_dev.c
lustre/mdc/mdc_locks.c
lustre/mdc/mdc_request.c
lustre/mdt/mdt_open.c