diff options
author | Josef Bacik <jbacik@fb.com> | 2015-02-03 15:50:16 (GMT) |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-04-10 21:04:47 (GMT) |
commit | 1262133b8d6f10f5ca7621cd4cf65ddf6254126a (patch) | |
tree | ac508ea4fc6d1e9b394ac2bdfee04eb20f5fc930 /fs/ext4/mmp.c | |
parent | 28ed1345a50491d78e1454ad4005dc5d3557a69e (diff) | |
download | linux-1262133b8d6f10f5ca7621cd4cf65ddf6254126a.tar.xz |
Btrfs: account for crcs in delayed ref processing
As we delete large extents, we end up doing huge amounts of COW in order
to delete the corresponding crcs. This adds accounting so that we keep
track of that space and flushing of delayed refs so that we don't build
up too much delayed crc work.
This helps limit the delayed work that must be done at commit time and
tries to avoid ENOSPC aborts because the crcs eat all the global
reserves.
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/ext4/mmp.c')
0 files changed, 0 insertions, 0 deletions