Jim, * Jeff liu ([email protected]) [20110418 15:54]:
> FYI, I once implemented a similar patch to teach du(1) to show the disk > footprint with reflinked stuff for OCFS2 only. > > It is make use of rb-tree to figure out the shared extents and calculate the > exactly used space eventually. > http://oss.oracle.com/pipermail/ocfs2-devel/2010-September/007293.html > http://oss.oracle.com/pipermail/ocfs2-devel/2010-September/007288.html > http://oss.oracle.com/pipermail/ocfs2-devel/2010-September/007287.html > > I have not submited the patch set to Coreutils since I guess it is hard to > accept by upstream as reflink and FIEMAP_EXTENT_SHARED flag are not spread > over the general filesystems. in this thread Jeff asked you on your opinions regarding such a patch set but somehow you never responded. Could you possibly do so now as I would still like something like this to be included upstream. regards Philipp
