diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2013-09-22 12:54:23 +0800 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-11-11 21:52:54 -0500 |
commit | fe09e16cc8d444ecc52f6f9a651946f16fffa4e1 (patch) | |
tree | fd70448c73de76d483dc4397655425a41a43821b /fs/btrfs/inode.c | |
parent | 74514323947ef27347564bfd7a663fdb3429cb20 (diff) | |
download | linux-fe09e16cc8d444ecc52f6f9a651946f16fffa4e1.tar.bz2 |
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>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions