]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: sysfs: remove BIG_METADATA feature files
authorNikolay Borisov <nborisov@suse.com>
Fri, 24 Jun 2022 08:01:23 +0000 (11:01 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:45:39 +0000 (17:45 +0200)
commit2e1c244f61ec25c5d547c9fac30c068acc834968
tree75942e0799c5f21d8d7a7b3b1d113189f34dbf10
parent95b1d9a2680084ed44e22fa0232ae1c2bccbdc95
btrfs: sysfs: remove BIG_METADATA feature files

This flag has been merged in 3.10 and is effectively always-on. Its
status depends on the host page size so there's another way to guarantee
compatibility with old kernels.

Due to a bug introduced in 865daaf884dd ("btrfs: fix upper limit for
max_inline for page size 64K") the flag is not persisted among features
in the superblock so it's not reliable.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ update changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/sysfs.c