[Ocfs2-devel] [PATCH 1/3] fs: Document the reflink(2) system call.

Jamie Lokier jamie at shareable.org
Tue May 5 15:11:01 PDT 2009


Joel Becker wrote:
> 	"Shares the data extents of the source file".  I should hope
> that chmod doesn't require copying out all the data.

Oh... I was under the impression that it would, because the
man-page-of-sorts says attributes must be the same and the following
question:

> Jamie Lokier wrote:
> > reflink() sounds useful already, but is there a compelling reason why
> > both files must have the same attributes, and changing attributes will
                                                  ------------------------
> > break the COW?
    --------------
>
> Yeah, because without it you can't use it for snapshotting.
  ----

If that's not true, then I change my tune substantially and like
reflink() semantics a lot more. :-)

-- Jamie



More information about the Ocfs2-devel mailing list