SEEK_DATA/SEEK_HOLE support

Andi Kleen andi at firstfloor.org
Sun Oct 2 14:11:07 CDT 2011


Christoph Hellwig <hch at infradead.org> writes:
>
> And the most important thing is of course adding QA for it.  Josef
> already wrote an xfstests case that needs to be resurrected, compared
> against the latest Posix draft and if nessecary updated.

Also when you do it please make sure you don't break unlocked lseek()
The patches for that are in Al's queue.  Only take the lock
for SEEK_HOLE/DATA, but not for the other operations. Use the
new helper instead of cut'n'pasting code.

-Andi

-- 
ak at linux.intel.com -- Speaking for myself only




More information about the xfs mailing list