Whamcloud - gitweb
LU-16314 obdclass: Migrate LASSERTF %p to %px 05/49405/10
authorShaun Tancheff <shaun.tancheff@hpe.com>
Thu, 25 May 2023 12:01:32 +0000 (07:01 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 15 Feb 2024 07:04:57 +0000 (07:04 +0000)
commit5bbdc97967b15a665e1263790fe729c576a90e5f
tree9faf564a37012d7e60634e9bd27440bf1f6a2e0d
parent18f5131ce58835fcedc6a87d8c46540fee9ca84b
LU-16314 obdclass: Migrate LASSERTF %p to %px

This change covers lustre/obdclass through lustre/target 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: Ia256dc1f74f976640ec82746a5d761ef662f45ae
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49405
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: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
15 files changed:
lustre/obdclass/genops.c
lustre/obdclass/obd_config.c
lustre/osc/osc_io.c
lustre/osc/osc_lock.c
lustre/osc/osc_request.c
lustre/osd-ldiskfs/osd_io.c
lustre/osp/osp_object.c
lustre/ptlrpc/client.c
lustre/ptlrpc/llog_net.c
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/recover.c
lustre/ptlrpc/sec_ctx.c
lustre/ptlrpc/sec_null.c
lustre/quota/qmt_pool.c
lustre/target/update_trans.c