diff options
| author | Josef Bacik <[email protected]> | 2020-07-21 10:22:32 -0400 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-10-07 12:06:54 +0200 |
| commit | cb3e3930459972dbafc274bcde3fdc1462429391 (patch) | |
| tree | 8b26df777d0b48822dff2203965ffad334ae27b8 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 327feeeb2e9bc68d2af1c581394ec6706f600bb9 (diff) | |
btrfs: flush delayed refs when trying to reserve data space
We can end up with freed extents in the delayed refs, and thus
may_commit_transaction() may not think we have enough pinned space to
commit the transaction and we'll ENOSPC early. Handle this by running
the delayed refs in order to make sure pinned is uptodate before we try
to commit the transaction.
Tested-by: Nikolay Borisov <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions