Project

General

Profile

Feature #47034

mds: readdir for snapshot diff

Added by Zheng Yan over 2 years ago. Updated about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Performance/Resource Usage
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
MDS
Labels (FS):
Pull request ID:

Description

make readdir return changed/removed dentries since given snapshot

History

#1 Updated by Patrick Donnelly over 2 years ago

  • Category set to Performance/Resource Usage
  • Source set to Development
  • Component(FS) MDS added

cephfs-mirror could use this to read the changes to entire subtrees (not just a single directory) given a snapshot.

#2 Updated by Patrick Donnelly over 2 years ago

  • Assignee set to Venky Shankar

#3 Updated by Venky Shankar about 2 years ago

Hey Zheng,

CephFS snapshot mirror would make use of rctime approach. That needs PR https://github.com/ceph/ceph/pull/32126 for recursive accounting fixes.

This tracker is an alternate approach to the above, right? Or, are you proposing that we do not make use to recursive stats and implement changes mentioned in this tracker?

Also available in: Atom PDF