Re: why do we need SNAPDIR ?

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

 



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



[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