Re: [ceph-users] the differences between snap and clone in terms of implement

2014-07-15 Thread Gregory Farnum
Okay, first the basics: cls_rbd.cc operates only on rbd header objects, so it's doing coordinating activities, not the actual data handling. When somebody does an operation on an rbd image, they put some data in the header object so that everybody else can coordinate (if it's open) or continue (if

[ceph-users] the differences between snap and clone in terms of implement

2014-07-15 Thread fastsync
hi,all i take a glance at ceph code of cls_rbd.cc. it seems that snap and clone both do not R/W any data, they just add some keys and values, even rbds in different pools. am i missing something? or could you explain deeper about the implemention of snap and clone. thanks very much. ___