On Tue, Sep 14, 2021 at 10:49:33AM -0700, Boris Burkov wrote: > > inode flags ro_compat instead, right? > > I believe it is still being used, unless I messed up the patch I sent in > the end. Taking a quick look, I think it's set at fs/btrfs/verity.c:558. > > btrfs_set_fs_compat_ro(root->fs_info, VERITY); > > I believe I still needed it because the tree checker doesn't scan every > inode on the filesystem when you mount, so it would only freak out about > a ro-compat inode later on if the inode didn't happen to be in a leaf > that was being checked at mount time. > > > > > 2. Is there a minimum version of btrfs-progs that is required to use btrfs > > verity? With ext4 and f2fs, the fsck tools had to be updated, so there were > > minimum versions of the userspace tools required. > > Hmm. I didn't update fsck, but now that you mention it, I think I need to... > I'll test it right away and get back to you, but I suspect I need to > hurry up and implement it. The timing of kernel features and btrfs-progs is to have them at the same release number at the latest, but it could be any time earlier as it also makes testing easier (released vs git snapshot).