From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans Reiser Subject: Re: Feature request: online fsync disable Date: Mon, 26 Aug 2002 15:27:18 +0400 Message-ID: <3D6A1096.7060502@namesys.com> References: <3D661C89.C8A805D7@baldauf.org> <15718.8710.244926.960377@laputa.namesys.com> <20020823155658.A962@namesys.com> <3D6623BE.4040500@namesys.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Matthias Andree Cc: reiserfs-list@namesys.com Matthias Andree wrote: >Hans Reiser writes: > > > >>It is a reasonable feature request I think. >> >> > >A file system that has a switch "oh, you can throw away my data if you >like" is no good at all. > Yes it is, consider tmpfs, consider web cache appliances..... this is just another variation on it. > If the application + FS interaction leads to >contention, then you have to choices to optimize: the application or the >file system. > If the app is closed source.... > We've had this kind of discussion before, with a different >focus: on mail transfer agents. There have been considerations of >merging fsync() operations and committing them at the same time, and >asynchronous operation or threading might in fact help the application. > >I'd not trust a file system that even has a switch to let it ignore >fsync(). Please let me know if your file systems exhibit this behaviour >so I can statfs() in my applications and if I see a file system that >does ignore fsync() just call raise(SIGKILL); > > >