From: Bob Peterson Date: Tue, 15 Sep 2020 09:38:17 -0500 Subject: [Cluster-devel] [GFS2 PATCH 0/5] Refactor gfs2_evict_inode Message-ID: <20200915143822.16485-1-rpeterso@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Function gfs2_evict_inode is very large and messy. This patch set is an attempt to simplify the function and make it more understandable. This will make it easier to maintain. I did this mainly because we need to fix it so it can call truncate_inode_pages on the inode glock's address space. Bob Peterson (5): gfs2: switch variable error to ret in gfs2_evict_inode gfs2: factor delete_evicted_inode out of gfs2_evict_inode gfs2: further simplify gfs2_evict_inode with new func may_delete_evicted gfs2: factor out evict code related to dinodes we are not deleting gfs2: simplify the logic in gfs2_evict_inode fs/gfs2/super.c | 214 ++++++++++++++++++++++++++++++------------------ 1 file changed, 136 insertions(+), 78 deletions(-) -- 2.26.2