[rrd-developers] bus error when disk is full, with mmap & sparse file

Richard Laager rlaager at wiktel.com
Thu Feb 2 06:35:16 CET 2012


I stumbled across this thread:
http://permalink.gmane.org/gmane.comp.db.rrdtool.devel/4102

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.

Sorry my reply isn't threaded properly. I couldn't find an mbox-format
archive to use for replying.

-- 
Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rrdtool-fallocate.patch
Type: text/x-patch
Size: 3045 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20120201/afb1da09/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20120201/afb1da09/attachment.pgp 


More information about the rrd-developers mailing list