diff options
author | Josef Bacik <josef@redhat.com> | 2011-08-08 13:46:15 -0400 |
---|---|---|
committer | Josef Bacik <josef@redhat.com> | 2011-10-19 15:12:35 -0400 |
commit | 907cbcebd4e5f641faf08601f216b1ceb6cb3bdf (patch) | |
tree | 2f605e19e8d44360c9eb4033adda940e9e5ab007 /arch/x86/.gitignore | |
parent | 13553e5221d6901a33b3f2157a389de085c161fe (diff) |
Btrfs: optimize how we account for space in truncate
Currently we're starting and stopping a transaction for no real reason, so kill
that and just reserve enough space as if we can truncate all in one transaction.
Also use btrfs_block_rsv_check() for our reserve to minimize the amount of space
we may have to allocate for our slack space. Thanks,
Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'arch/x86/.gitignore')
0 files changed, 0 insertions, 0 deletions