Re: [PATCH] vfs: introduce FS_IOC_SYNCFS to sync a single super

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Thursday, August 26, 2010 - 5:01 pm

On Mon, 9 Aug 2010 07:33:57 -0700 (PDT)
Sage Weil <sage@newdream.net> wrote:


Actually you can do

	mount -o remount /dev/whatever

and it will sync the fs and retain caches.


And I guess remount will do that also.


The changelog forgot to tell us why this is a useful thing to add. 
What is the use-case?


`mount -o remount' is surely a Linux-specific side-effect and there's
really no guarantee that Linux will always retain that side-effect. 
OTOH FS_IOC_SYNCFS is linux-specific.

If we're going to add something like this then it will need to be
documented in manpages.  Supposedly, a cc to linux-api@vger.kernel.org
will help make all that happen, but I'm not sure who if anyone is
answering the phone over there?

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] vfs: introduce FS_IOC_SYNCFS to sync a single ..., Andrew Morton, (Thu Aug 26, 5:01 pm)
Re: [PATCH] vfs: introduce FS_IOC_SYNCFS to sync a single ..., Jonathan Nieder, (Sat Nov 27, 10:04 pm)