lkml.org 
[lkml]   [2009]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: vfs: Add MS_FLUSHONFSYNC mount flag
On Sun, Feb 22, 2009 at 06:46:51PM -0500, Jeff Garzik wrote:
>
> To be more clear / precise, this means actually performing the
> guarantees we claim to the user. For example,
>
> fsync(2) on ext2 should trigger a storage device writeback cache flush
> [or equivalent guarantee via FUA].
>
> fsync(2) or journal commit on ext3 should trigger a flush [or equivalent
> guarantee via FUA].
>
> Though, certainly, the user should be able to disable this strict
> behavior and trade correctness for performance.

No argument here. The *default* should be that we respect fsync().
However, the user should be able to configure with a reasonable amount
of granularity tradeoffs between safety and performance and/or battery
usage.

- Ted


\
 
 \ /
  Last update: 2009-02-23 02:27    [W:2.927 / U:1.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site