[GFS2] Merge the rd_last_alloc_meta and rd_last_alloc_data fields
We don't need to keep track of when we last allocated data and metadata separately since the only thing thats important when searching for a free block is whether its free or not, which is independent from what type of block it is. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
@@ -90,8 +90,7 @@ struct gfs2_rgrpd {
|
||||
struct mutex rd_mutex;
|
||||
u32 rd_free_clone;
|
||||
struct gfs2_log_element rd_le;
|
||||
u32 rd_last_alloc_data;
|
||||
u32 rd_last_alloc_meta;
|
||||
u32 rd_last_alloc;
|
||||
struct gfs2_sbd *rd_sbd;
|
||||
unsigned char rd_flags;
|
||||
#define GFS2_RDF_CHECK 0x01 /* Need to check for unlinked inodes */
|
||||
|
Reference in New Issue
Block a user