Details

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

    Description

      This ticket tracks the rename() support for WBC.

      The rename() operation uses a strategy similar to hardlink() operation. It deroots the parent inodes first, and then synchronizes them to the metadata server to perform the rename() operation. Nevertheless, we can do some optimization for rename() operation under WBC: if the parent directory of the source file and the target file are both in the state flagged with Complete (C) and not Flushed ( ̃F), the client can directly perform the rename() operation locally in MemFS.

      Attachments

        Activity

          [LU-15799] WBC: rename() support for WBC
          gerrit Gerrit Updater added a comment - - edited

          "Yingjin Qian <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/47165
          Subject: LU-15799 wbc: add rename support for WBC
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 7eb6103bcac820d1d3d35695b0ff903deea386d5

          gerrit Gerrit Updater added a comment - - edited "Yingjin Qian <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/47165 Subject: LU-15799 wbc: add rename support for WBC Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 7eb6103bcac820d1d3d35695b0ff903deea386d5

          People

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

            Dates

              Created:
              Updated: