Re: block level diffs in rbd/librados snapshots?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 3 Feb 2011, Brian Chrisman wrote:
> I'm wondering whether I can get block level diff data from the
> underlying rados storage to allow me to perform a kind of 'block level
> incremental backup' facility.
> I can't quite tell from the documentation whether this would be
> supported via snapshotting (ie, can I get a map/list of blocks which
> have been changed since I created a snapshot on Monday?)

The OSD has this information internally.  It keeps track of the unchanged 
overlap between each consecutive snap/version of each object 
(SnapSet::clone_overlap in osd/osd_types.h).  I think this would just be a 
matter of adding an OSD operation to expose that information.  See the 
CEPH_OSD_OP_* defines in include/rados.h, and the ceph_osd_op 
struct/union.

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux