Re: [PATCH v3] introduce sys_syncfs to sync a single file system

From
Arnd Bergmann <arnd@arndb.de>
Date
2011-03-10 22:08:22
Also in
linux-arch, linux-fsdevel, lkml
Reply to
Sage Weil, 2011-03-10
On Thursday 10 March 2011 20:31:30 Sage Weil wrote:
It is frequently useful to sync a single file system, instead of all
mounted file systems via sync(2):

 - On machines with many mounts, it is not at all uncommon for some of
   them to hang (e.g. unresponsive NFS server).  sync(2) will get stuck on
   those and may never get to the one you do care about (e.g., /).
 - Some applications write lots of data to the file system and then
   want to make sure it is flushed to disk.  Calling fsync(2) on each
   file introduces unnecessary ordering constraints that result in a large
   amount of sub-optimal writeback/flush/commit behavior by the file
   system.

...
Signed-off-by: Sage Weil <redacted>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Thread (5 messages) 5 messages, 5 authors, last reply 2011-03-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help