diff options
author | 2020-07-07 18:30:06 +0200 | |
---|---|---|
committer | 2021-06-21 15:19:06 +0200 | |
commit | 6819703f5a365c95488b07066a8744841bf14231 (patch) | |
tree | 57bd25309dcc5b41f5f0aa5c9c057f98db45b476 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: sysfs: fix format string for some discard stats (diff) | |
download | linux-dev-6819703f5a365c95488b07066a8744841bf14231.tar.xz linux-dev-6819703f5a365c95488b07066a8744841bf14231.zip |
btrfs: clear defrag status of a root if starting transaction fails
The defrag loop processes leaves in batches and starting transaction for
each. The whole defragmentation on a given root is protected by a bit
but in case the transaction fails, the bit is not cleared
In case the transaction fails the bit would prevent starting
defragmentation again, so make sure it's cleared.
CC: stable@vger.kernel.org # 4.4+
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.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