diff options
author | 2011-10-05 16:35:28 -0400 | |
---|---|---|
committer | 2011-10-19 15:12:53 -0400 | |
commit | 9a82ca659d8bfd99afc0e89bbde2202322df5755 (patch) | |
tree | 965b34fb6e1133d3a198954aa1d97ede017f993a /ipc/msgutil.c | |
parent | Btrfs: check the return value of filemap_write_and_wait in the space cache (diff) | |
download | wireguard-linux-9a82ca659d8bfd99afc0e89bbde2202322df5755.tar.xz wireguard-linux-9a82ca659d8bfd99afc0e89bbde2202322df5755.zip |
Btrfs: take overflow into account in reserving space
My overcommit stuff can be a little racy when we're filling up the disk with
fs_mark and we overcommit into things that quickly get used up for data. So use
num_bytes to see if we have enough available space so we're less likely to
overcommit ourselves out of the ability to make reservations. Thanks,
Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'ipc/msgutil.c')
0 files changed, 0 insertions, 0 deletions