diff options
author | David Sterba <dsterba@suse.com> | 2024-05-22 18:26:18 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-07-11 15:33:27 +0200 |
commit | a5b3abb18c380177d3a994d30a2ab890f27b8df8 (patch) | |
tree | 99a313dd894303e5417f991d26a0c679c76e3268 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4addc1ffd67ad34394674dc91379dc04cfdd2537 (diff) |
btrfs: qgroup: warn about inconsistent qgroups when relation update fails
Calling btrfs_handle_fs_error() after btrfs_run_qgroups() fails to
update the qgroup status is probably not necessary, this would turn the
filesystem to read-only. For the same reason aborting the transaction is
also not a good option.
The state is left inconsistent and can be fixed by rescan, printing a
warning should be sufficient. Return code reflects the status of
adding/deleting the relation and if the transaction was ended properly.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions