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]:
On Mon, Sep 16, 2013 at 04:18:24PM +0800, Liu Bo wrote:
@@ -4122,7 +4136,7 @@ int extent_fiemap(struct inode *inode, struct
fiemap_extent_info *fieinfo,
last = found_key.offset;
last_for_get_extent = last + 1;
}
- btrfs_free_path(path);
+
On Mon, Sep 16, 2013 at 10:55:17AM +0200, David Sterba wrote:
On Mon, Sep 16, 2013 at 04:18:24PM +0800, Liu Bo wrote:
@@ -4122,7 +4136,7 @@ int extent_fiemap(struct inode *inode, struct
fiemap_extent_info *fieinfo,
last = found_key.offset;
last_for_get_extent =