diff options
author | liubo <liubo2009@cn.fujitsu.com> | 2011-08-03 10:15:25 +0000 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-08-16 21:09:15 -0400 |
commit | cdcb725c05fe0cb71777c66ddc2445fedbbb3c59 (patch) | |
tree | a2128e008636ad4dd4d6db2131363cc71d45ad73 /fs/hfs/hfs.h | |
parent | 38c01b9605923cfdff5413e0a12e58ee8d962257 (diff) | |
download | blackbird-op-linux-cdcb725c05fe0cb71777c66ddc2445fedbbb3c59.tar.gz blackbird-op-linux-cdcb725c05fe0cb71777c66ddc2445fedbbb3c59.zip |
Btrfs: check if there is enough space for balancing smarter
When checking if there is enough space for balancing a block group,
since we do not take raid types into consideration, we do not account
corrent amounts of space that we needed. This makes us do some extra
work before we get ENOSPC.
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/hfs/hfs.h')
0 files changed, 0 insertions, 0 deletions