commit | 39fb26c398ddf8d7794a85e896cfe1a42e55524b | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Wed Dec 14 20:12:02 2011 -0500 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Dec 15 10:50:36 2011 -0500 |
tree | 6a7c1132f8ad0b9b70a2e5cccf55d74ab3095b48 | |
parent | 3642320e07444cc46327b24977d752f99706dac2 [diff] |
Btrfs: fix inaccurate available space on raid0 profile When we use raid0 as the data profile, df command may show us a very inaccurate value of the available space, which may be much less than the real one. It may make the users puzzled. Fix it by changing the calculation of the available space, and making it be more similar to a fake chunk allocation. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>