summaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2011-08-08 21:46:15 +0400
committerJosef Bacik <josef@redhat.com>2011-10-19 23:12:35 +0400
commit907cbcebd4e5f641faf08601f216b1ceb6cb3bdf (patch)
tree2f605e19e8d44360c9eb4033adda940e9e5ab007 /net/unix/sysctl_net_unix.c
parent13553e5221d6901a33b3f2157a389de085c161fe (diff)
downloadlinux-907cbcebd4e5f641faf08601f216b1ceb6cb3bdf.tar.xz
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 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions