Re: mmap behavior on out-of-space conditions

From: Peter Zijlstra
Date: Thu Aug 02 2007 - 09:06:37 EST


On Thu, 2007-08-02 at 14:41 +0200, Petr Tesarik wrote:
> Hello,
>
> while solving a different issue, my colleague Libor Pechacek found a
> problem with handling mmapped sparse files. If you mmap the hole insidea
> sparse file and write to it, the data gets silently lost if there is not
> enough space left on the underlying device.

I think Dave's block_page_mkwrite() stuff addresses this as well, no?

http://lkml.org/lkml/2007/3/18/198

Peter

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