Re: [PATCH 1/2] fs: add SEEK_HOLE and SEEK_DATA flags

From: Jonathan Nieder
Date: Fri Apr 22 2011 - 16:10:20 EST


Hi,

Josef Bacik wrote:

> This just gets us ready to support the SEEK_HOLE and SEEK_DATA flags. Turns out
> using fiemap in things like cp cause more problems than it solves, so lets try
> and give userspace an interface that doesn't suck. So we have

That's easy to believe, but could you elaborate? What problem does
using fiemap cause? I assume the answer is somewhere in somewhere in
the thread

http://thread.gmane.org/gmane.comp.file-systems.xfs.general/37895/focus=24404

but it would be nice to have a summary in the commit log for
posterity.

Thanks for working on this.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/