diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-08-22 11:23:22 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-08-31 10:21:40 -0400 |
commit | 9bbb5726efb64e2cfed42f6eec07db80cd87e63b (patch) | |
tree | e7c0a28fff531ef34bb35448479e6bbcaeffe1f9 /fs/ubifs/ubifs.h | |
parent | 131130b9a1e6e523c64b34137b14f88ae1382a6a (diff) |
UBIFS: introduce LEB overhead
This is a preparational patch for the following statfs()
report fix.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/ubifs.h')
-rw-r--r-- | fs/ubifs/ubifs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h index 681d46e16286..57e58541de28 100644 --- a/fs/ubifs/ubifs.h +++ b/fs/ubifs/ubifs.h | |||
@@ -995,6 +995,9 @@ struct ubifs_mount_opts { | |||
995 | * @max_idx_node_sz: maximum indexing node aligned on 8-bytes boundary | 995 | * @max_idx_node_sz: maximum indexing node aligned on 8-bytes boundary |
996 | * @max_inode_sz: maximum possible inode size in bytes | 996 | * @max_inode_sz: maximum possible inode size in bytes |
997 | * @max_znode_sz: size of znode in bytes | 997 | * @max_znode_sz: size of znode in bytes |
998 | * | ||
999 | * @leb_overhead: how many bytes are wasted in an LEB when it is filled with | ||
1000 | * data nodes of maximum size - used in free space reporting | ||
998 | * @dead_wm: LEB dead space watermark | 1001 | * @dead_wm: LEB dead space watermark |
999 | * @dark_wm: LEB dark space watermark | 1002 | * @dark_wm: LEB dark space watermark |
1000 | * @block_cnt: count of 4KiB blocks on the FS | 1003 | * @block_cnt: count of 4KiB blocks on the FS |
@@ -1226,6 +1229,8 @@ struct ubifs_info { | |||
1226 | int max_idx_node_sz; | 1229 | int max_idx_node_sz; |
1227 | long long max_inode_sz; | 1230 | long long max_inode_sz; |
1228 | int max_znode_sz; | 1231 | int max_znode_sz; |
1232 | |||
1233 | int leb_overhead; | ||
1229 | int dead_wm; | 1234 | int dead_wm; |
1230 | int dark_wm; | 1235 | int dark_wm; |
1231 | int block_cnt; | 1236 | int block_cnt; |