From 2e7053497efc8ad46edb928b6cf193c2f9886801 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Mon, 26 Oct 2020 10:49:59 -0700 Subject: [PATCH] scoutfs: remove free_*_blocks super fields Remove the old superblock fields which were used to track free blocks found in the radix allocators. We now walk all the allocators when we need to know the free totals, rather than trying to keep fields in sync. Signed-off-by: Zach Brown --- kmod/src/format.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/kmod/src/format.h b/kmod/src/format.h index 800d9fab..34ebed1a 100644 --- a/kmod/src/format.h +++ b/kmod/src/format.h @@ -595,11 +595,9 @@ 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_data_blocks; __le64 quorum_fenced_term; __le64 quorum_server_term; __le64 unmount_barrier;