diff options
author | Chris Mason <clm@fb.com> | 2015-02-04 14:59:29 (GMT) |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-04-10 21:06:34 (GMT) |
commit | 28f75a0e6cdfbce8115487ecbc0968a2c4e01806 (patch) | |
tree | 14c32d9251117f3ec0f771e95ab17c1d96fe2b94 /fs/sysv/sysv.h | |
parent | 1262133b8d6f10f5ca7621cd4cf65ddf6254126a (diff) | |
download | linux-28f75a0e6cdfbce8115487ecbc0968a2c4e01806.tar.xz |
Btrfs: refill block reserves during truncate
When truncate starts, it allocates some space in the block reserves so
that we'll have enough to update metadata along the way.
For very large files, we can easily go through all of that space as we
loop through the extents. This changes truncate to refill the space
reservation as it progresses through the file.
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/sysv/sysv.h')
0 files changed, 0 insertions, 0 deletions