On Thu, Apr 12, 2012 at 2:32 PM, David Sterba <dave@xxxxxxxx> wrote: > On Thu, Apr 12, 2012 at 02:09:08PM +0300, Kasatkin, Dmitry wrote: >> Where is it? Can you please point out? > > http://permalink.gmane.org/gmane.comp.file-systems.btrfs/16662 > > the relevant part: > > -- a/fs/btrfs/super.c > +++ b/fs/btrfs/super.c > @@ -770,7 +770,7 @@ static int btrfs_fill_super(struct super_block *sb, > #ifdef CONFIG_BTRFS_FS_POSIX_ACL > sb->s_flags |= MS_POSIXACL; > #endif > - > + sb->s_flags |= MS_I_VERSION; > err = open_ctree(sb, fs_devices, (char *)data); > if (err) { > printk("btrfs: open_ctree failed\n"); Hello, FYI: In fact just tried yesterday to use mount option "iversion" on 3.4-rc5 and it seems to work without + sb->s_flags |= MS_I_VERSION; I checked that following is really happening in btrfs_update_time(): if (sync_it & S_VERSION) inode_inc_iversion(inode); I also put some prints to btrfs_mount and remount and see that MS_I_VERSION is not set there yet. Somehow magically it gets set... - Dmitry -- 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