Re: [Cluster-devel] [RFC RHEL7 GFS2 PATCH 2/3] gfs2: try to free empty mapping inodes from ordered list

2017-12-13 Thread Steven Whitehouse
On 12/12/17 17:22, Abhi Das wrote: Add a new function gfs2_ordered_shrink() that is called when syncfs is run. This function runs through the ordered list of inodes and removes the ones that don't have any pages in need of writing. Signed-off-by: Abhi Das --- fs/gfs2/log.c | 16 ++

[Cluster-devel] [RFC RHEL7 GFS2 PATCH 2/3] gfs2: try to free empty mapping inodes from ordered list

2017-12-12 Thread Abhi Das
Add a new function gfs2_ordered_shrink() that is called when syncfs is run. This function runs through the ordered list of inodes and removes the ones that don't have any pages in need of writing. Signed-off-by: Abhi Das --- fs/gfs2/log.c | 16 fs/gfs2/log.h | 1 + fs/gfs2/