[Ocfs2-devel] [PATCH 1/2] fiemap: Add new extent flag FIEMAP_EXTENT_SHARED
Jamie Lokier
jamie at shareable.org
Sat Oct 24 11:30:39 PDT 2009
Mark Fasheh wrote:
> On Wed, Oct 21, 2009 at 06:05:08PM -0700, Sunil Mushran wrote:
> > Patch adds flag FIEMAP_EXTENT_SHARED to denote extents that are
> > shared with other inodes.
>
> This looks pretty sane to me. Thanks Sunil.
It might be better to have a flag FIEMAP_EXTENT_NOT_SHARED.
Apps which need to know the data is not shared can't safely check
!(flags & FIEMAP_EXTENT_SHARED) because of old kernels which don't set
the flag.
-- Jamie
More information about the Ocfs2-devel
mailing list