]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rados: include pool_snap_info in pg_pools
authorSage Weil <sage@newdream.net>
Fri, 5 Jun 2009 04:03:41 +0000 (21:03 -0700)
committerSage Weil <sage@newdream.net>
Fri, 5 Jun 2009 04:03:41 +0000 (21:03 -0700)
commit41a38d46a734d13c9a17c068ee9b7d6671d2bd1f
treea9384fcf1c5b71335b1c7abc73f8d7000926f095
parentb0a958a1062561045d5a4e30bc2eae63dc160261
rados: include pool_snap_info in pg_pools

Include info about snaps global to each pg_pool in the pg_pool_t (and
thus OSDMap).  These snap contexts will be used when a snapc is not
explicitly specified by the client.

Note that the pool-wide snaps are (presently) mutually exclusive with
client-controlls snaps (as used by ceph) because a mixture of @snaps and
@removed_snaps doesn't clearly defined which snaps do not exist (they
share the namespace).
src/include/encoding.h
src/include/interval_set.h
src/include/rados.h
src/include/types.h
src/osd/osd_types.h