gfs2: lookup local statfs inodes prior to journal recovery
authorAbhi Das <adas@redhat.com>
Tue, 20 Oct 2020 20:58:04 +0000 (15:58 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Fri, 23 Oct 2020 13:47:14 +0000 (15:47 +0200)
commit97fd734ba17e32463742c569137f54f713c27fe0
treeed5592b97a793147121d7fe102400cfe93d68e44
parent730926982d770dc764b4282aecc82e0039c18f64
gfs2: lookup local statfs inodes prior to journal recovery

We need to lookup the master statfs inode and the local statfs
inodes earlier in the mount process (in init_journal) so journal
recovery can use them when it attempts to recover the statfs info.
We lookup all the local statfs inodes and store them in a linked
list to allow a node to recover statfs info for other nodes in the
cluster.

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