]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: warn about dev extents that are inside the reserved range
authorQu Wenruo <wqu@suse.com>
Mon, 13 Jun 2022 07:06:35 +0000 (15:06 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:45:36 +0000 (17:45 +0200)
commit4ef5fa016d6bc1d563dbda214733dd49c6ffcad7
tree72bc52a6157fc73af960aebd92b1ddf63821651c
parente6aefddb11019aa4201864c5ac6db88fad0ba49e
btrfs: warn about dev extents that are inside the reserved range

Btrfs on-disk format has reserved the first 1MiB for the primary super
block (at 64KiB offset) and bootloaders may also use this space.

This behavior is only introduced since v4.1 btrfs-progs release,
although kernel can ensure we never touch the reserved range of super
blocks, it's better to inform the end users, and a balance will resolve
the problem.

Signed-off-by: Qu Wenruo <wqu@suse.com>
[ update changelog and message ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c