Re: bus error when disk is full, with mmap & sparse file

Bernhard Reutner-Fischer <[email protected]> Thu, 2 Feb 2012 09:32:58 +0100
Newsgroups gmane.comp.db.rrdtool.devel
Message-ID <20120202083258.GA13401__43693.6115417213$1328171605$gmane$org@mx.loc>
On Thu, Feb 02, 2012 at 01:56:46AM -0600, Richard Laager wrote:
>The posix_fallocate() version is definitely cleaner. Again, this patch

This one is ok.

>is only lightly tested.
>
>Also, I happened to notice a tiny bit of duplicated code, so I've
>attached a separate patch for that. It seems so obviously duplicated
>that I've looked at it several times to make sure I'm not missing
>something.

You do not miss anything, they can be removed savely.

cheers,