[OpenAFS-devel] Patch to disable fsync()ing

Derrick J Brashear shadow@dementia.org
Fri, 16 Mar 2007 12:43:43 -0400 (EDT)


On Fri, 16 Mar 2007, Rainer Toebbicke wrote:

> Derrick J Brashear wrote:
>> On Fri, 16 Mar 2007, Robert Banz wrote:
>> 
>>> 
>>> The following patch adds the options "-nofsync" to the namei-based 
>>> fileserver and volserver, disabling fsync() operations.
>>> 
>>> For the volserver, local tests have shown that this speeds up volume moves 
>>> significantly.
>> 
>> If it's like the one Rainer sent it also breaks things. Ask Harald Barth.
>> 
>
> Well, I seeing that it got dropped from CVS I checked with Harald and he 
> himself does not think so any longer. He must have had some other problem.

Harald: update 30632 when you get a chance?

> The necessity for syncs (except crashes) also somehow contradicts POSIX to my 
> understanding.
>
> We run with a variant of mine which nevertheless does syncs in a separate 
> thread for safety since years now and could frankly not do without. However 
> better programmers than me aren't rare and delaying the syncs is not a very 
> tricky task.