On Wed, Sep 18, 2013 at 04:53:04PM -0400, Josef Bacik wrote: > On Mon, Sep 16, 2013 at 03:40:12PM +0800, Liu Bo wrote: > > 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 > > > > Signed-off-by: Liu Bo <bo.li.liu@xxxxxxxxxx> > > --- > > RFC->PATCH: use type 'unsigned long' instead of 'int', as David suggested. > > This broke any xfstest that used fiemap, so generic/255, generic/316 and > shared/218. Thanks, I'll look into it ASAP, thanks, Josef. -liubo -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
