]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: include SnapSet seq in the list snaps response
authorSage Weil <sage@inktank.com>
Tue, 26 Mar 2013 03:59:11 +0000 (20:59 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Mon, 1 Apr 2013 06:32:40 +0000 (23:32 -0700)
commit00742289114323d2f9c56f2c1ddd45e48c000e6e
treefe69e631667f8f71c9046500efba62b553cb1594
parentfa5206ce9bf9f50a086b403cfe3f37ca1d9f84c9
osd: include SnapSet seq in the list snaps response

It is important to know the latest seq that the object has seen in order
to tell if a response like

 clone 2 snaps=[1,2]
 clone head snaps=[]

was untouched before a hypothetical snap 3, or deleted prior to snap 3,
and then recreated+modified after.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/ReplicatedPG.cc
src/osd/osd_types.h