]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: snapshot management
authorSage Weil <sage@newdream.net>
Mon, 5 Oct 2009 22:47:32 +0000 (15:47 -0700)
committerSage Weil <sage@newdream.net>
Mon, 5 Oct 2009 22:47:32 +0000 (15:47 -0700)
commitf9322adc26bdc5c305549f2f80fd89d96fbb6d3d
tree044fc0ed53c0a2e7be7899530fa7c8f4a57e5f2d
parentc374704f4e6812f849d657579280d1a83fa886a9
ceph: snapshot management

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: Sage Weil <sage@newdream.net>
fs/ceph/snap.c [new file with mode: 0644]