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

Update inode attributes on unlink

    XMLWordPrintable

Details

    • 3
    • 9223372036854775807

    Description

      Currently, the last unlink of an inode sends back the inode attributes from the MDS, but the client ignores them. This results in i_nlink on the inode (in memory on the client) staying at one after it has been fully unlinked, which means it stays in memory until discarded from pressure. This is also problematic for wrapfs atop Lustre, would like to use the nlink count to be certain the file is really gone.

      The only attribute which is relevant on a fully unlinked inode is i_nlink, so we just read that out. Patch coming momentarily.

      Attachments

        Issue Links

          Activity

            People

              paf Patrick Farrell
              paf Patrick Farrell
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: