[OpenAFS-devel] Patch to disable fsync()ing
Rainer Toebbicke
rtb@pclella.cern.ch
Fri, 16 Mar 2007 17:38:30 +0100
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. 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.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rainer Toebbicke
European Laboratory for Particle Physics(CERN) - Geneva, Switzerland
Phone: +41 22 767 8985 Fax: +41 22 767 7155