diff options
| author | 2017-09-17 09:02:29 +0000 | |
|---|---|---|
| committer | 2017-09-26 14:54:01 +0200 | |
| commit | 36b96fdc6b2dc6f4a0fedc563fa7508c91b90a10 (patch) | |
| tree | f570c3e39fcb38ef16de37bb8847db98611c45ec /tools/perf/scripts/python/compaction-times.py | |
| parent | Btrfs: skip checksum when reading compressed data if some IO have failed (diff) | |
| download | wireguard-linux-36b96fdc6b2dc6f4a0fedc563fa7508c91b90a10.tar.xz wireguard-linux-36b96fdc6b2dc6f4a0fedc563fa7508c91b90a10.zip | |
btrfs: Report error on removing qgroup if del_qgroup_item fails
Previously, we were calling del_qgroup_item, and ignoring the return code
resulting in a potential to have divergent in-memory state without an
error. Perhaps, it makes sense to handle this error code, and put the
filesystem into a read only, or similar state.
This patch only adds reporting of the error if the error is fatal,
(any error other than qgroup not found).
Signed-off-by: Sargun Dhillon <sargun@sargun.me>
Reviewed-by: Qu Wenruo <quwenruo.btrfs@gmx.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
