On Thu, Mar 14, 2024 at 04:01:22PM +0100, David Sterba wrote: > On Wed, Mar 13, 2024 at 04:46:29PM -0700, Boris Burkov wrote: > > This test uses btrfs send with fs-verity which relies on protocol > > version 3. The default in progs is version 2, so we need to explicitly > > specify the protocol version. Note that the max protocol version in > > progs is also currently broken (not properly gated by EXPERIMENTAL) so > > that needs fixing as well. > > What do you mean? Progs are ready for protocol 3 as its availability > depends on kernel and if it's enabled then it's assumed that progs match > the protocol specification. I'm not sure exactly how it happened, but I currently also can't get btrfs-progs to actually put proto=3 in the send ioctl. I believe that the #ifdef CONFIG_BTRFS_DEBUG used to set the protocol version doesn't pick up the config value in the kernel (should it?!) I was able to fix it by switching to using EXPERIMENTAL as the flag but haven't sent that yet.