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

sanity.sh test_76: fails with lod/osp (inodes are not purged as expected)

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • Lustre 2.4.0
    • None
    • 3
    • 4198

    Description

      OSP objects are not removed immediately, so ll_d_iput() in unlink path finds extent locks and do not reset nlink to 0 leaving the inode in the cache.

      we need to figure out another way to purge inode...

      on MDS corresponding inode does get nlink=0 only if the inode is actually being destroyed (orphans get nlink=1 being on PENDING/). this zero nlink propagated to the client can be a signal for ELC on the client ?

      Attachments

        Issue Links

          Activity

            [LU-2036] sanity.sh test_76: fails with lod/osp (inodes are not purged as expected)

            This appears to be fixed by:
            https://jira.hpdd.intel.com/browse/LU-10131
            https://review.whamcloud.com/#/c/29651/

            Test passes with that patch, fails without it.

            paf Patrick Farrell (Inactive) added a comment - This appears to be fixed by: https://jira.hpdd.intel.com/browse/LU-10131 https://review.whamcloud.com/#/c/29651/ Test passes with that patch, fails without it.

            To be clear - problem landed to master with LOD/OSP, but has not been fixed. Closing this as a duplicate of LU-2857, and moved comments over there.

            adilger Andreas Dilger added a comment - To be clear - problem landed to master with LOD/OSP, but has not been fixed. Closing this as a duplicate of LU-2857 , and moved comments over there.

            This was landed with http://review.whamcloud.com/4087 (commit 5165cdd4b063d).

            adilger Andreas Dilger added a comment - This was landed with http://review.whamcloud.com/4087 (commit 5165cdd4b063d).

            People

              wc-triage WC Triage
              bzzz Alex Zhuravlev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: