Reorganize data elements to reduce struct sizes
Thanks for the comments. I have incorportated them all. CONFIG_OCFS2_FS_STATS is enabled and CONFIG_DEBUG_LOCK_ALLOC is disabled. Statistics now look like - ocfs2_write_ctxt: 2144 - 2136 = 8 ocfs2_inode_info: 1960 - 1848 = 112 ocfs2_journal: 168 - 160 = 8 ocfs2_lock_res: 336 - 304 = 32 ocfs2_refcount_tree: 512 - 472 = 40 Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.de> Signed-off-by: Joel Becker <joel.becker@oracle.com>
This commit is contained in:

committed by
Joel Becker

parent
95fa859a26
commit
83fd9c7f65
@@ -883,8 +883,8 @@ struct ocfs2_write_ctxt {
|
||||
* out in so that future reads from that region will get
|
||||
* zero's.
|
||||
*/
|
||||
struct page *w_pages[OCFS2_MAX_CTXT_PAGES];
|
||||
unsigned int w_num_pages;
|
||||
struct page *w_pages[OCFS2_MAX_CTXT_PAGES];
|
||||
struct page *w_target_page;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user