Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [PATCH] vfs: introduce FS_IOC_SYNCFS to sync a single super | Date | Mon, 9 Aug 2010 20:55:07 +0200 |
| |
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
| |