The SNAPDIR object only exists if the 1) head does not exist and 2) there are clones. The purpose of the object is to hold the snapset xattr which would normally be on the head object. -Sam On Wed, Dec 24, 2014 at 7:27 PM, Nicheal <zay11022@xxxxxxxxx> wrote: > Dear develops, > > I find that SNAPDIR means a special object in ceph. It is a read-only > object since if a op write want to modify SNAPDIR object, it return > -EINVAL immediately. But I cannot find when we need to create the > SNAPDIR object? and what is used for? > > Based on my understanding, ceph snapshot is realized by snap_set Xattr > and snapperMapper in omap. It does not cooperate with SNAPDIR object, > so I am puzzled. Can anyone provide some guides to understand this? > > > Regards, > Ning Yao > -- > 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 -- 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