From: Liu Bo Date: Sun, 22 Sep 2013 04:54:23 +0000 (+0800) Subject: Btrfs: export btrfs space shared info to userspace X-Git-Tag: v3.13-rc1~85^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe09e16cc8d444ecc52f6f9a651946f16fffa4e1;p=pandora-kernel.git Btrfs: export btrfs space shared info to userspace Similar to ocfs2, btrfs also supports that extents can be shared by different inodes, and there are some userspace tools requesting for this kind of 'space shared infomation'.[1] ocfs2 uses flag FIEMAP_EXTENT_SHARED, so does btrfs. [1]: http://thr3ads.net/ocfs2-devel/2010/09/489052-PATCH-3-3-shared-du-using-fiemap-to-figure-up-the-shared-extents-per-file-and-the-footprint-in Reviewed-by: David Sterba Signed-off-by: Liu Bo Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed