Re: [RFC] sys_punchhole()

From: H. Peter Anvin
Date: Sun Nov 13 2005 - 01:14:29 EST


Followup to: <1131686314.2833.0.camel@xxxxxxxxxxxxxxxxxxxxx>
By author: Arjan van de Ven <arjan@xxxxxxxxxxxxx>
In newsgroup: linux.dev.kernel
> On Thu, 2005-11-10 at 15:23 -0800, Badari Pulavarty wrote:
> >
> > We discussed this in madvise(REMOVE) thread - to add support
> > for sys_punchhole(fd, offset, len) to complete the functionality
> > (in the future).
>
> in the past always this was said to be "really hard" in linux locking
> wise, esp. the locking with respect to truncate...
>
> did you find a solution to this problem ?

For the sake of completeness, it should probably be stated that the
utility of such a function is pretty clear.

-hpa
-
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/