summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/transaction.h
diff options
context:
space:
mode:
authorChris Mason <clm@fb.com>2015-02-04 15:59:29 +0100
committerChris Mason <clm@fb.com>2015-04-10 23:06:34 +0200
commit28f75a0e6cdfbce8115487ecbc0968a2c4e01806 (patch)
tree14c32d9251117f3ec0f771e95ab17c1d96fe2b94 /fs/btrfs/transaction.h
parentBtrfs: account for crcs in delayed ref processing (diff)
downloadlinux-28f75a0e6cdfbce8115487ecbc0968a2c4e01806.tar.xz
linux-28f75a0e6cdfbce8115487ecbc0968a2c4e01806.zip
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/btrfs/transaction.h')
0 files changed, 0 insertions, 0 deletions