commit | fe09e16cc8d444ecc52f6f9a651946f16fffa4e1 | [log] [tgz] |
---|---|---|
author | Liu Bo <bo.li.liu@oracle.com> | Sun Sep 22 12:54:23 2013 +0800 |
committer | Chris Mason <chris.mason@fusionio.com> | Mon Nov 11 21:52:54 2013 -0500 |
tree | fd70448c73de76d483dc4397655425a41a43821b | |
parent | 74514323947ef27347564bfd7a663fdb3429cb20 [diff] |
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 <dsterba@suse.cz> Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>