ceph/doc/PendingReleaseNotes
Sage Weil 6af769a16f librados: cleanly define SNAP_HEAD, SNAP_DIR constants
We were using the internal CEPH_NOSNAP and CEPH_SNAPDIR constants, and
defining a clone_info_t::HEAD (with a different value).  The docs were
referrring to the internal constant names.

Instead, define librados constants (C and C++) with the same values as the
internal types.

Note that this changes the clone_info_t::HEAD value from -1 to -2 so that
it now matches the internal type.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-31 23:32:41 -07:00

4 lines
238 B
Plaintext

* The librados::clone_info_t::HEAD constant has been replaced with librados::SNAP_HEAD, with
a different value that matches the internal constants. This only affects the brand-new
list_snaps() interface that was introduced in v0.59.