• S
    ceph: snapshot management · 963b61eb
    Sage Weil 提交于
    Ceph snapshots rely on client cooperation in determining which
    operations apply to which snapshots, and appropriately flushing
    snapshotted data and metadata back to the OSD and MDS clusters.
    Because snapshots apply to subtrees of the file hierarchy and can be
    created at any time, there is a fair bit of bookkeeping required to
    make this work.
    
    Portions of the hierarchy that belong to the same set of snapshots
    are described by a single 'snap realm.'  A 'snap context' describes
    the set of snapshots that exist for a given file or directory.
    Signed-off-by: NSage Weil <sage@newdream.net>
    963b61eb
snap.c 24.8 KB