[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201008092055.07248.arnd@arndb.de>
Date: Mon, 9 Aug 2010 20:55:07 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Sage Weil <sage@...dream.net>
Cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH] vfs: introduce FS_IOC_SYNCFS to sync a single super
On Monday 09 August 2010, Sage Weil wrote:
> Currently the only way to sync a single super_block (and not all of them
> via sync(2)) is via the BLKFLSBUF ioctl on the block device. That also
> invalidates the bdev mapping, which isn't usually desireable, and it
> doesn't work for non-block file systems. The ability to sync a single
> mount can be useful for both applications and administrators (e.g., when
> other mounts on the system are hung).
You need to add this to the compat_ioctl handling as well, otherwise
it won't work when you run a 32 bit process in a 64 bit kernel.
Adding it to the ioctl_pointer[] array is probably the easiest way.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists