xfs
[Top] [All Lists]

Re: avoid mbox file fragmentation

To: xfs@xxxxxxxxxxx
Subject: Re: avoid mbox file fragmentation
From: Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>
Date: Tue, 19 Oct 2010 22:03:19 -0500
In-reply-to: <20101019234217.GD12506@dastard>
References: <4CBE2403.8070108@xxxxxxxxxxxxxxxxx> <20101019234217.GD12506@dastard>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
Dave Chinner put forth on 10/19/2010 6:42 PM:

> I've explained how allocsize works, and that speculative allocation
> gets truncated away whenteh file is closed. Hence is the application
> is doing:
> 
>       open()
>       seek(EOF)
>       write()
>       close()

I don't know if it changes anything in the sequence above, but Dovecot
uses mmap i/o.  As I've said, I'm not a dev.  Just thought this
could/might be relevant.  Would using mmap be compatible with physical
preallocation?

-- 
Stan

<Prev in Thread] Current Thread [Next in Thread>