Re: ext3/4, btrfs, ocfs2: How to assure that cleancache_invalidate_fs is called on every superblock free

2012-03-12 Thread Jan Kara
Hello, On Fri 09-03-12 14:40:22, Andor Daam wrote: Is it ever possible for a superblock for a mounted filesystem to be free'd without a previous call to unmount the filesystem? No, I don't think so (well, except for cases where we do not manage to fully setup the superblock). But be aware

ext3/4, btrfs, ocfs2: How to assure that cleancache_invalidate_fs is called on every superblock free

2012-03-09 Thread Andor Daam
Hello, Is it ever possible for a superblock for a mounted filesystem to be free'd without a previous call to unmount the filesystem? I need to be certain that the function cleancache_invalidate_fs, which is at the moment called by deactivate_locked_super (fs/super.c) [1], is called before every