gfs2: Evict inodes cooperatively
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 26 Jan 2023 19:23:40 +0000 (20:23 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 31 Jan 2023 21:40:24 +0000 (22:40 +0100)
commitb88beb9a246f7506778f8680ee9627cd85262ba4
tree8b93e29818c8200eed3aa82a4a8203118c9b8e48
parent6b388abc33998330c6fe55a712d61be888fd7b67
gfs2: Evict inodes cooperatively

Add a gfs2_evict_inodes() helper that evicts inodes cooperatively across
the cluster.  This avoids running into timeouts during unmount
unnecessarily.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/incore.h
fs/gfs2/ops_fstype.c
fs/gfs2/super.c