|
From: | Jeff liu |
Subject: | Re: Supporting reflinked/cow files in coreutils |
Date: | Mon, 18 Apr 2011 21:54:11 +0800 |
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. I have not submit 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. Thanks, -Jeff
|
[Prev in Thread] | Current Thread | [Next in Thread] |