[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Supporting reflinked/cow files in coreutils
From: |
Philipp Thomas |
Subject: |
Re: Supporting reflinked/cow files in coreutils |
Date: |
Thu, 16 Jun 2011 14:48:42 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
- Re: Supporting reflinked/cow files in coreutils,
Philipp Thomas <=