gfs2: local statfs improvements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 0 repliesNew
- v23 patches 0 repliesSuperseded
- v13 patches 0 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | gfs2: Add fields for statfs info in struct gfs2_log_header_hostfs/ fs/ fs/ +1 more | +11 | 0 replies | |
| 2/3 | gfs2: lookup local statfs inodes prior to journal recoveryfs/ fs/ fs/ +1 more | +139 | 0 replies | |
| 3/3 | gfs2: Recover statfs info in journal headfs/ fs/ fs/ | +106 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [Cluster-devel] [PATCH v3 0/3] gfs2: local statfs improvements
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(-)
Signature · 1 line
2.20.1