Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-6671

Wireshark: LDLM_ENQUEUE reply with undecoded buffer

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.11.0
    • None
    • 3
    • 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

      Attachments

        Issue Links

          Activity

            [LU-6671] Wireshark: LDLM_ENQUEUE reply with undecoded buffer

            Sure, I've got no outstanding wireshark patches.

            utopiabound Nathaniel Clark added a comment - Sure, I've got no outstanding wireshark patches.
            pjones Peter Jones added a comment -

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

            pjones Peter Jones added a comment - Can this ticket be marked as resolved with the most recent landing?

            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

            gerrit Gerrit Updater added a comment - 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

            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.

            kerawlin Kenrick Rawlings (Inactive) added a comment - 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.

            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?

            adilger Andreas Dilger added a comment - 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?

            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

            gerrit Gerrit Updater added a comment - 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

            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

            gerrit Gerrit Updater added a comment - 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

            People

              utopiabound Nathaniel Clark
              uselton Andrew Uselton (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: