diff options
| author | Boris Burkov <[email protected]> | 2020-11-18 23:06:24 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-12-09 18:16:08 +0000 |
| commit | 2838d255cb9b85a845efc3bbd3f6fc66ed883d35 (patch) | |
| tree | de08745f4a5d99f73ab1dccb5db4d7f925a1ae14 /fs/btrfs/dev-replace.c | |
| parent | btrfs: use superblock state to print space_cache mount option (diff) | |
| download | kernel-2838d255cb9b85a845efc3bbd3f6fc66ed883d35.tar.gz kernel-2838d255cb9b85a845efc3bbd3f6fc66ed883d35.zip | |
btrfs: warn when remount will not change the free space tree
If the remount is ro->ro, rw->ro, or rw->rw, we will not create or
clear the free space tree. This can be surprising, so print a warning
to dmesg to make the failure more visible. It is also important to
ensure that the space cache options (SPACE_CACHE, FREE_SPACE_TREE) are
consistent, so ensure those are set to properly match the current on
disk state (which won't be changing).
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Boris Burkov <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
