Re: [PATCH v2] fs: amend SLAB_RECLAIM_ACCOUNT on gfs2 related slab cache

2021-01-05 Thread Andreas Grünbacher
Bob, Am Di., 5. Jan. 2021 um 14:28 Uhr schrieb Bob Peterson : > - Original Message - > > From: Zhaoyang Huang > > > > As gfs2_quotad_cachep and gfs2_glock_cachep have registered > > the shrinker, amending SLAB_RECLAIM_ACCOUNT when creating > > them, which make the slab acount to be presic

Re: [PATCH v2] fs: amend SLAB_RECLAIM_ACCOUNT on gfs2 related slab cache

2021-01-05 Thread Bob Peterson
- Original Message - > From: Zhaoyang Huang > > As gfs2_quotad_cachep and gfs2_glock_cachep have registered > the shrinker, amending SLAB_RECLAIM_ACCOUNT when creating > them, which make the slab acount to be presiced. > > Signed-off-by: Zhaoyang Huang > --- > v2: add gfs2_glock_cachep

[PATCH v2] fs: amend SLAB_RECLAIM_ACCOUNT on gfs2 related slab cache

2021-01-04 Thread Huangzhaoyang
From: Zhaoyang Huang As gfs2_quotad_cachep and gfs2_glock_cachep have registered the shrinker, amending SLAB_RECLAIM_ACCOUNT when creating them, which make the slab acount to be presiced. Signed-off-by: Zhaoyang Huang --- v2: add gfs2_glock_cachep for same operation --- --- fs/gfs2/main.c | 4