summaryrefslogtreecommitdiff
path: root/fs/btrfs/relocation.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2011-12-14 20:12:02 -0500
committerChris Mason <chris.mason@oracle.com>2011-12-15 10:50:36 -0500
commit39fb26c398ddf8d7794a85e896cfe1a42e55524b (patch)
tree6a7c1132f8ad0b9b70a2e5cccf55d74ab3095b48 /fs/btrfs/relocation.c
parent3642320e07444cc46327b24977d752f99706dac2 (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>
Diffstat (limited to 'fs/btrfs/relocation.c')
0 files changed, 0 insertions, 0 deletions