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

changelogs: RNMTO record not always after RNMFRM

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.3.0, Lustre 2.1.5
    • Lustre 2.0.0, Lustre 2.1.0
    • None
    • 3
    • 4560

    Description

      In Lustre MDT changelog, rename operations are splitted in 2 lines CL_RENAME (displayed as RNMFM) and CL_EXT (displayed as RNMTO).
      I found some case where those 2 records are not consecutive in the changelog: other operations are inserted between them.

      example:
      14989521 08RNMFM 03:09:52.275492602 2012.04.14 0x0 t=[0x20000b8d3:0xaae6:0x0] p=[0x20000b7ba:0x4b4c:0x0] .adcread.q6TIXm
      14989522 14SATTR 03:09:52.275492602 2012.04.14 0x14 t=[0x20000b7bb:0x1c1e:0x0]
      14989523 09RNMTO 03:09:52.275492602 2012.04.14 0x0 t=[0:0x0:0x0] p=[0x20000b7ba:0x4b4c:0x0] adcread

      Looking at lustre_rsync code, it seems CL_RENAME and CL_EXT are expected to be consecutive.
      So there are 2 options:

      • lustre_rsync does a bad asumption about that
        or
      • there is a locking or transaction issue when generating CL rename records which allows another operation to be logged in between

      Given that CL_EXT is an extra info related to CL_RENAME, it would be easier if they are together in the log...

      Attachments

        Issue Links

          Activity

            [LU-1331] changelogs: RNMTO record not always after RNMFRM
            adilger Andreas Dilger made changes -
            Link New: This issue is duplicated by LU-2866 [ LU-2866 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.1.5 [ 10203 ]
            pjones Peter Jones made changes -
            Labels Original: mq113
            pjones Peter Jones made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
            pjones Peter Jones made changes -
            Labels New: mq113
            pjones Peter Jones made changes -
            Resolution Original: Fixed [ 1 ]
            Status Original: Closed [ 6 ] New: Reopened [ 4 ]
            laisiyao Lai Siyao made changes -
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            laisiyao Lai Siyao made changes -
            Fix Version/s New: Lustre 2.3.0 [ 10117 ]
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
            bobijam Zhenyu Xu made changes -
            Link New: This issue is related to LU-1458 [ LU-1458 ]
            laisiyao Lai Siyao made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]

            People

              laisiyao Lai Siyao
              leibovici-cea Thomas LEIBOVICI - CEA (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: