diff options
author | Josef Bacik <josef@redhat.com> | 2009-09-11 16:11:20 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-09-21 19:23:50 -0400 |
commit | 1b2da372b0324b5c604fc8790e70a7efbeacb0b6 (patch) | |
tree | 13d7ba24660c865efd184a25b7b0ac8830a6d7f1 /fs/lockd | |
parent | 25891f796d8d30f2b86b1e84d78721b44d573d70 (diff) | |
download | blackbird-op-linux-1b2da372b0324b5c604fc8790e70a7efbeacb0b6.tar.gz blackbird-op-linux-1b2da372b0324b5c604fc8790e70a7efbeacb0b6.zip |
Btrfs: account for space used by the super mirrors
As we get closer to proper -ENOSPC handling in btrfs, we need more accurate
space accounting for the space info's. Currently we exclude the free space for
the super mirrors, but the space they take up isn't accounted for in any of the
counters. This patch introduces bytes_super, which keeps track of the amount
of bytes used for a super mirror in the block group cache and space info. This
makes sure that our free space caclucations will be completely accurate.
Signed-off-by: Josef Bacik <jbacik@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/lockd')
0 files changed, 0 insertions, 0 deletions