cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH v3 0/3] gfs2: local statfs improvements
@ 2020-10-20 20:58 Abhi Das
  2020-10-20 20:58 ` [Cluster-devel] [PATCH v3 1/3] gfs2: Add fields for statfs info in struct gfs2_log_header_host Abhi Das
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Abhi Das @ 2020-10-20 20:58 UTC (permalink / raw)
  To: cluster-devel.redhat.com

This patchset allows gfs2 to sync statfs info from the journal to the
master statfs file during a log flush or during recovery. We still
write to the local statfs file to allow older versions to recover the
statfs info of newer kernels with this patchset.

This version addresses the bug Andreas found with xfstests:generic/034.
Turns out we weren't looking up the statfs inodes early enough in the
mount process. I also added some comments in the code.

Abhi Das (3):
  gfs2: Add fields for statfs info in struct gfs2_log_header_host
  gfs2: lookup local statfs inodes prior to journal recovery
  gfs2: Recover statfs info in journal head

 fs/gfs2/incore.h     |  12 ++++
 fs/gfs2/lops.c       |   2 +-
 fs/gfs2/lops.h       |   1 +
 fs/gfs2/ops_fstype.c | 133 +++++++++++++++++++++++++++++++------------
 fs/gfs2/recovery.c   | 108 +++++++++++++++++++++++++++++++++++
 fs/gfs2/super.c      |  33 ++++++++++-
 fs/gfs2/super.h      |   5 ++
 7 files changed, 256 insertions(+), 38 deletions(-)

-- 
2.20.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-20 20:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-20 20:58 [Cluster-devel] [PATCH v3 0/3] gfs2: local statfs improvements Abhi Das
2020-10-20 20:58 ` [Cluster-devel] [PATCH v3 1/3] gfs2: Add fields for statfs info in struct gfs2_log_header_host Abhi Das
2020-10-20 20:58 ` [Cluster-devel] [PATCH v3 2/3] gfs2: lookup local statfs inodes prior to journal recovery Abhi Das
2020-10-20 20:58 ` [Cluster-devel] [PATCH v3 3/3] gfs2: Recover statfs info in journal head Abhi Das

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).