scoutfs-utils: meta and data free blocks

The super block now tracks free metadata and data blocks in separate
counters.

Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
Zach Brown
2020-02-25 12:04:17 -08:00
committed by Zach Brown
parent 6b66e583f2
commit ec782fff8d
3 changed files with 8 additions and 6 deletions
+2 -1
View File
@@ -481,10 +481,11 @@ struct scoutfs_super_block {
__le64 total_meta_blocks; /* both static and dynamic */
__le64 first_meta_blkno; /* first dynamically allocated */
__le64 last_meta_blkno;
__le64 free_meta_blocks;
__le64 total_data_blocks;
__le64 first_data_blkno;
__le64 last_data_blkno;
__le64 free_blocks;
__le64 free_data_blocks;
__le64 quorum_fenced_term;
__le64 quorum_server_term;
__le64 unmount_barrier;