diff options
author | Boris Burkov <[email protected]> | 2020-11-18 15:06:24 -0800 |
---|---|---|
committer | David Sterba <[email protected]> | 2020-12-09 19:16:08 +0100 |
commit | 2838d255cb9b85a845efc3bbd3f6fc66ed883d35 (patch) | |
tree | de08745f4a5d99f73ab1dccb5db4d7f925a1ae14 /tools/perf/util/trace-event-scripting.c | |
parent | 04c415596953ec90fdae1ad388fdc8151d5dfdc1 (diff) |
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 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions