[LU-6671] Wireshark: LDLM_ENQUEUE reply with undecoded buffer Created: 01/Jun/15  Updated: 19/Jul/17  Resolved: 19/Jul/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.11.0

Type: Bug Priority: Minor
Reporter: Andrew Uselton (Inactive) Assignee: Nathaniel Clark
Resolution: Fixed Votes: 0
Labels: wireshark

Attachments: File 2015-05-19_16-39-23_c20.tcpdump    
Issue Links:
Related
is related to LU-6582 Wireshark fails to parse LDLM_ENQUEUE... Resolved
is related to LU-6648 Wireshark 1.8.10 does not correctly p... Resolved
is related to LU-4931 New feature of giving server/storage ... Resolved
is related to LU-4378 Add HSM message parsing to wireshark ... Resolved
is related to LU-8499 wireshark plugins don't build any more Resolved
is related to LU-6353 Push Wireshark Support Upstream Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The attached file is the tcpdump on a client where I ran a "truncate" test ('multiop <file> OTc 1024'). After the MDS_REINT request and reply there is an LDLM_ENQUEUE request and reply for an extent lock. The "verbose" tshark output shows in the header that there are three buffers:

Lm Buflens: 152
Lm Buflens: 112
Lm Buflens: 56

But only the first two 'ptlrpc_body' and 'ldlm_reply' get decoded or even mentioned. I am guessing the thrid buffer is an ost_lvb, but I could well be wrong.
-Andrew



 Comments   
Comment by Gerrit Updater [ 20/Jan/16 ]

Nathaniel Clark (nathaniel.l.clark@intel.com) uploaded a new patch: http://review.whamcloud.com/18061
Subject: LU-6671 wireshark: Process mds_md entries
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 9955da227dd414f1441cf659861a70a4f5c4de77

Comment by Gerrit Updater [ 09/Sep/16 ]

Amir Shehata (amir.shehata@intel.com) uploaded a new patch: http://review.whamcloud.com/22422
Subject: LU-6671 wireshark: Fix compile issues
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 687590ae46077888a0bcaf0cdbdf8670214c06e8

Comment by Andreas Dilger [ 13/Sep/16 ]

Nathan Lavender,
there are a number of patches that add wireshark decoding functionality under this ticket in Gerrit:
http://review.whamcloud.com/14552 "LU-4378 wireshark: Add parsing for HSM commands"
http://review.whamcloud.com/14732 "LU-6582 wireshark: Add new LDLM intent bits"
http://review.whamcloud.com/14961 "LU-6648 wireshark: Process ldlm intent getxattr"
http://review.whamcloud.com/18061 "LU-6671 wireshark: Process mds_md entries"

and separately two patches that add the ladvise functionality (the second one fixes breakage from the first):

http://review.whamcloud.com/10029 "LU-4931 ladvise: Add feature of giving file access advices" (packet-lustre.c part only)
http://review.whamcloud.com/22074 "LU-8499 wireshark: fix packet-lustre so it compiles"

It would be great to include these into the packet-lustre.c update that you are working on to push upstream along with the sptlrpc decoders. Is that an ongoing process, or is it currently on hold?

Comment by Kenrick Rawlings [ 22/Sep/16 ]

Andreas, recent progress has been slow since the focus has been on the Shared Secret Key functionality itself, but yes this is an ongoing process. From an initial review of the the patches, I don't see any issues with including them in the packet-lustre.c update we're working on and pushing them upstream along with it sounds great. We'll plan on doing that and will report back if we encounter difficulties.

Comment by Gerrit Updater [ 19/Jul/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/18061/
Subject: LU-6671 wireshark: Process mds_md entries
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 57661182dbcdc2ec92dfafdeded078ab8ef8b7c6

Comment by Peter Jones [ 19/Jul/17 ]

Can this ticket be marked as resolved with the most recent landing?

Comment by Nathaniel Clark [ 19/Jul/17 ]

Sure, I've got no outstanding wireshark patches.

Generated at Sat Feb 10 02:02:14 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.