[rrd-developers] bus error when disk is full, with mmap & sparse file
rep.dot.nop at gmail.com
Thu Feb 2 08:23:27 CET 2012
On Feb 2, 2012 6:35 AM, "Richard Laager" <rlaager at wiktel.com> wrote:
> I stumbled across this thread:
> I've attached a patch that uses fallocate(), which may address this
> issue. Also, it should be faster than filling the file with zeros from
> userspace and may also decrease file fragmentation. I've only lightly
> tested the patch.
The patch sounds conceptually OK to me, but please use posix_fallocate()
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rrd-developers