Re: [PATCH v3 1/5] btrfs: add compat_flags to btrfs_inode_item

2021-04-09 Thread Boris Burkov
On Fri, Apr 09, 2021 at 07:40:44AM +0800, Anand Jain wrote: > On 09/04/2021 02:33, Boris Burkov wrote: > > The tree checker currently rejects unrecognized flags when it reads > > btrfs_inode_item. Practically, this means that adding a new flag makes > > the change backwards incompatible if the flag

Re: [PATCH v3 1/5] btrfs: add compat_flags to btrfs_inode_item

2021-04-08 Thread Anand Jain
On 09/04/2021 02:33, Boris Burkov wrote: The tree checker currently rejects unrecognized flags when it reads btrfs_inode_item. Practically, this means that adding a new flag makes the change backwards incompatible if the flag is ever set on a file. Take up one of the 4 reserved u64 fields in

[PATCH v3 1/5] btrfs: add compat_flags to btrfs_inode_item

2021-04-08 Thread Boris Burkov
The tree checker currently rejects unrecognized flags when it reads btrfs_inode_item. Practically, this means that adding a new flag makes the change backwards incompatible if the flag is ever set on a file. Take up one of the 4 reserved u64 fields in the btrfs_inode_item as a new "compat_flags".