2009-12-18 21:24:19

by Andreas Dilger

[permalink] [raw]
Subject: Re: [Ocfs2-devel] Add FIEMAP_EXTENT_SHARED flag

On 2009-12-17, at 22:10, Joel Becker wrote:
> On Thu, Dec 03, 2009 at 12:46:50PM -0800, Sunil Mushran wrote:
>> Please could you Ack this patch. This adds a new FIEMAP flag to
>> denote
>> shared extents which we are using to identify such exents in
>> reflinked
>> files.
>
> These patches are now in ocfs2.git. If anyone has any concerns,
> let me know.


Hi Joel,
are there any plans to submit an e2fsprogs patch to print out the
"shared" extent flag from "filefrag"?

At first glance it would also seem to make sense to set this flag for
ext2/3/4 xattrs that are sharing an external extent block.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.



2009-12-18 21:30:53

by Sunil Mushran

[permalink] [raw]
Subject: Re: Add FIEMAP_EXTENT_SHARED flag

Andreas Dilger wrote:
> Hi Joel,
> are there any plans to submit an e2fsprogs patch to print out the
> "shared" extent flag from "filefrag"?
>
> At first glance it would also seem to make sense to set this flag for
> ext2/3/4 xattrs that are sharing an external extent block.

Yes, I do have a patch for filefrag which I will push after this
gets into mainline.