diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-02-09 15:47:57 +0000 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-02-26 15:03:26 +0100 |
| commit | 4db8d56c6f4cbea7293d4236efac4a507dbfa6b1 (patch) | |
| tree | a4d43a71f8e2b7266219a7a86cec89782bb7dcf1 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 64def7d7d62b61044fe619e3cc9cbe60454decd9 (diff) | |
| download | linux-4db8d56c6f4cbea7293d4236efac4a507dbfa6b1.tar.gz linux-4db8d56c6f4cbea7293d4236efac4a507dbfa6b1.zip | |
btrfs: remove btrfs_handle_fs_error() after failure to recover log trees
There is no need to call btrfs_handle_fs_error() (which we are trying to
deprecate) if we fail to recover log trees:
1) Such a failure results in failing the mount immediately;
2) If the recovery started a transaction before failing, it has already
aborted the transaction down in the call chain.
So remove the btrfs_handle_fs_error() call, replace it with an error
message and assert that the FS is in error state (so that no partial
updates are committed due to a transaction that was not aborted).
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@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
