summaryrefslogtreecommitdiff
path: root/fs/select.c
diff options
context:
space:
mode:
authorChris Mason <clm@fb.com>2015-02-04 14:59:29 (GMT)
committerChris Mason <clm@fb.com>2015-04-10 21:06:34 (GMT)
commit28f75a0e6cdfbce8115487ecbc0968a2c4e01806 (patch)
tree14c32d9251117f3ec0f771e95ab17c1d96fe2b94 /fs/select.c
parent1262133b8d6f10f5ca7621cd4cf65ddf6254126a (diff)
downloadlinux-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/select.c')
0 files changed, 0 insertions, 0 deletions