Hi Pádraig,
* Pádraig Brady (address@hidden) [20110414 17:30]:
> Note cp already supports --reflink on BTRFS
> (see clone_file() in copy.c).
> Doing the same mechanism on OCFS2 would be trivial.
I finally got the time to look into copy.c and found the code you're
speaking of. Looking at the ocfs2 code it seems to me that OCFS2_IOC_REFLINK
is what is needed for but that is where my knowledge ends. Jeff could you
fill in the pieces needed to make clone_file also work on ocfs2?
Philipp