Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-10938 Metadata writeback cache support
  3. LU-14757

WBC: MemFS lookup fallback to Lustre lookup

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 9223372036854775807

    Description

      In WBC lock drop flush mode, when enter into the code path @memfs_lookup during the new file creation, and the dir (parent inode) is already flushed (WBC state for the directory becomes WBC_STATE_FL_NONE), at this time, it will fall back into the Lustre lookup path @ll_lookup_nd to perform lookup from MDT. The old the Lustre lookup path with LOOKUP_CREATE | LOOKUP_OPEN will return ERR_PTR(-ENOENT) wrongly.

      In this patch, it fixed this bug, and when lookup from MDT returns -ENOENT to indicate the name is not existed, it will return NULL instead of ERR_PTR(-ENOENT).

      Attachments

        Activity

          People

            qian_wc Qian Yingjin
            qian_wc Qian Yingjin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: