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

Retain cached dentries under directory update lock

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • 9223372036854775807

      In line with LU-10999 we should be able to retain directory entries in cache on the clients even without update locks assuming we have UPDATE lock on the parent directory.

      Currently this mostly affects various opens that are routinely answered without any LOOKUP bit set.

      We already have the code that iterates all the children when a directory UPDATE lock is canceled in search of negative dentries, so we can use that to also prune all such lockless dentries too.

            wc-triage WC Triage
            green Oleg Drokin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: