Thread (4 messages) 4 messages, 3 authors, 2006-08-14

Re: Getting 'sync' to flush disk cache?

flat view

From: Arjan van de Ven <hidden>
Date: 2006-08-14 19:35:57
Also in: linux-scsi, lkml

On Mon, 2006-08-14 at 14:39 -0400, Jeff Garzik wrote:
So...  has anybody given any thought to enabling fsync(2), fdatasync(2), 
and sync_file_range(2) issuing a [FLUSH|SYNCHRONIZE] CACHE command?

This has bugged me for _years_, that Linux does not do this.  Looking at 
forums on the web, it bugs a lot of other people too.
eh afaik 2.6.17 and such do this if you have barriers enabled...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help