Skip to content
Commit 28ed1345 authored by Chris Mason's avatar Chris Mason
Browse files

btrfs: actively run the delayed refs while deleting large files



When we are deleting large files with large extents, we are building up
a huge set of delayed refs for processing.  Truncate isn't checking
often enough to see if we need to back off and process those, or let
a commit proceed.

The end result is long stalls after the rm, and very long commit times.
During the commits, other processes back up waiting to start new
transactions and we get into trouble.

Signed-off-by: default avatarChris Mason <clm@fb.com>
parent 4a3d1caf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment