syncing a single fs, and invalidate_bdev()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

I'd like to sync a single fs/superblock from userland.  sync(2) is too 
heavyweight since it syncs all supers.  The only thing I see is the 
BLKFLSBUF ioctl.  That will fsync_bdev() (which does sync the super), and 
then does invalidate_bdev().

Is that the right thing to do?  Is there any issue with calling 
invalidate_bdev() under a running fs?  Do any normal block file systems 
use the bdev's mapping for non-dirty data?

Thanks-
sage
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux