Whamcloud - gitweb
LU-12523 ptlrpc: Add jobid to rpctrace debug messages 45/35445/6
authorAnn Koehler <amk@cray.com>
Mon, 8 Jul 2019 20:17:07 +0000 (15:17 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 17 Jul 2019 06:22:00 +0000 (06:22 +0000)
commit9ae40e4c5ecbc754e47b0570fedddc6963e03f9a
treeca1fbb1115ffec711b2ffbc86a4c932c6d07ed5f
parent494d4b6b73dd0c1aa751c77f5830616415dcb97b
LU-12523 ptlrpc: Add jobid to rpctrace debug messages

This mod adds the jobid string found in the ptlrpc_body of an rpc
to the output of rpctrace messages. If jobids are not in use the
string will be empty. If jobids are in use, the string can be
useful in analyzing Lustre activity.

Test-Parameters: trivial
Cray-bug-id: LUS-7557
Signed-off-by: Ann Koehler <amk@cray.com>
Change-Id: Ib7ec75e28581f3ac420314812e2521fa49f021dd
Reviewed-on: https://review.whamcloud.com/35445
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/ptlrpc/client.c
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/service.c