Whamcloud - gitweb
LU-16077 ptlrpc: Fix ptlrpc_body_v2 with pb_uid/pb_gid 22/51122/3
authorEtienne AUJAMES <etienne.aujames@cea.fr>
Wed, 24 May 2023 13:26:27 +0000 (15:26 +0200)
committerOleg Drokin <green@whamcloud.com>
Thu, 31 Aug 2023 06:17:26 +0000 (06:17 +0000)
commitafe5813a482478642acc0aacfe195d465e0f1e2c
tree30fc945cd40f669b590fdb92cadba46f0cefecd9
parent91a3b286ba57bb491b5c17600d7cec9e516a428f
LU-16077 ptlrpc: Fix ptlrpc_body_v2 with pb_uid/pb_gid

ptlrpc_body_v2 and ptlrpc_body_v3 should have the same fields except
for jobid.

This patch fixes the debug request messages by printing request
uid/gid at the end. That way debugging tools can still parse message
for newer versions.

Fixes: 0544c10 ("LU-16077 tbf: pb_uid/pb_gid ptlrpc_body fields for TBF rules")
Test-Parameters: testlist=sanityn env=ONLY=77,ONLY_REPEAT=20
Signed-off-by: Etienne AUJAMES <eaujames@ddn.com>
Change-Id: I1faa13fa7c5b03bfeeb7cd75f7dbbfa8ca8ca941
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51122
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c