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?
--