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

FID sequence numbers not working properly with filesystems formatted using 1.8?

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • Lustre 2.4.0, Lustre 2.1.4
    • Lustre 2.3.0, Lustre 2.4.0, Lustre 2.1.2
    • Lustre 2.1.2
    • 3
    • 4004

    Description

      On a 2.1 filesystem - server and client both running 2.1.2, and a filesystem created with Lustre 2.1.x, many files are created on the same client using the same FID sequence number. That's how I expect it to work.

      With servers and clients running 2.1.2, but with a filesystem that was originally created with Lustre 1.8, only one file is created per sequence number before the client requests another one from the MDS. For example, for several consecutive files created on the same client, I get FIDs like this:

      [0x33c0e251df8:0x1:0x0]
      [0x33c0e254b37:0x1:0x0]
      [0x33c0e257876:0x1:0x0]
      [0x33c0e25a5b5:0x1:0x0]
      [0x33c0e25d2f4:0x1:0x0]
      [0x33c0e260033:0x1:0x0]

      lctl get_param 'seq.cli-srv-nbp*.* shows a space of [0x0 - 0x0]:0:0 for the filesystems that were formatted under Lustre 1.8.

      Is this the way it's supposed to work?

      Thanks,
      Jason

      Attachments

        1. dk.seq.debug.gz
          1.51 MB
        2. files.txt
          7 kB

        Issue Links

          Activity

            [LU-1632] FID sequence numbers not working properly with filesystems formatted using 1.8?
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-3318 [ LU-3318 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.4.0 [ 10154 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.1.4 [ 10158 ]
            jlevi Jodi Levi (Inactive) made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

            Landed to Master

            jlevi Jodi Levi (Inactive) added a comment - Landed to Master
            di.wang Di Wang added a comment -

            http://review.whamcloud.com/#change,4606 patch for current master.

            di.wang Di Wang added a comment - http://review.whamcloud.com/#change,4606 patch for current master.
            di.wang Di Wang added a comment -

            The patch has been landed to 2.1, and I will make a patch for 2.4 soon.

            di.wang Di Wang added a comment - The patch has been landed to 2.1, and I will make a patch for 2.4 soon.
            di.wang Di Wang made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            adilger Andreas Dilger made changes -
            Affects Version/s New: Lustre 2.3.0 [ 10117 ]
            Affects Version/s New: Lustre 2.4.0 [ 10154 ]
            adilger Andreas Dilger made changes -
            Priority Original: Critical [ 2 ] New: Blocker [ 1 ]

            People

              di.wang Di Wang
              rappleye jason.rappleye@nasa.gov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: