commit | 86b9f2eca5e0984145e3c7698a7cd6dd65c2a93f | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zheng.yan@oracle.com> | Thu Nov 12 09:36:50 2009 +0000 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Dec 17 12:33:35 2009 -0500 |
tree | 75dd0a52848b6f5396023f811f1a602f62b9d34e | |
parent | 55ef68990029fcd8d04d42fc184aa7fb18cf309e [diff] |
Btrfs: Fix per root used space accounting The bytes_used field in root item was originally planned to trace the amount of used data and tree blocks. But it never worked right since we can't trace freeing of data accurately. This patch changes it to only trace the amount of tree blocks. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>