summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glock.c
diff options
context:
space:
mode:
authorAbhi Das <adas@redhat.com>2020-10-20 15:58:05 -0500
committerAndreas Gruenbacher <agruenba@redhat.com>2020-10-23 15:47:38 +0200
commitbedb0f056faa94e953e7b3da5a77d25e0008364b (patch)
tree7a5d7967818d59a20d10fbd9371261a8fde088c5 /fs/gfs2/glock.c
parent97fd734ba17e32463742c569137f54f713c27fe0 (diff)
downloadlinux-bedb0f056faa94e953e7b3da5a77d25e0008364b.tar.bz2
gfs2: Recover statfs info in journal head
Apply the outstanding statfs changes in the journal head to the master statfs file. Zero out the local statfs file for good measure. Previously, statfs updates would be read in from the local statfs inode and synced to the master statfs inode during recovery. We now use the statfs updates in the journal head to update the master statfs inode instead of reading in from the local statfs inode. To preserve backward compatibility with kernels that can't do this, we still need to keep the local statfs inode up to date by writing changes to it. At some point in the future, we can do away with the local statfs inodes altogether and keep the statfs changes solely in the journal. Signed-off-by: Abhi Das <adas@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/glock.c')
0 files changed, 0 insertions, 0 deletions