GFS2: Introduce new gfs2_log_header_v2
authorBob Peterson <rpeterso@redhat.com>
Tue, 16 Jan 2018 23:01:33 +0000 (00:01 +0100)
committerBob Peterson <rpeterso@redhat.com>
Tue, 23 Jan 2018 14:38:53 +0000 (07:38 -0700)
commitc1696fb85d33194cf65c7ebfc82a75696299c3a3
treee6c2faba8786f73db8270822c4fb263cad57b207
parent0ff5916ad4eb857e03e7586665d1c022ef3277f6
GFS2: Introduce new gfs2_log_header_v2

This patch adds a new structure called gfs2_log_header_v2 which is used
to store expanded fields into previously unused areas of the log headers
(i.e., this change is backwards compatible).  Some of these are used for
debug purposes so we can backtrack when problems occur.  Others are
reserved for future expansion.

This patch is based on a prototype from Steve Whitehouse.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
15 files changed:
fs/gfs2/Kconfig
fs/gfs2/aops.c
fs/gfs2/file.c
fs/gfs2/glops.c
fs/gfs2/log.c
fs/gfs2/log.h
fs/gfs2/lops.c
fs/gfs2/lops.h
fs/gfs2/ops_fstype.c
fs/gfs2/quota.c
fs/gfs2/recovery.c
fs/gfs2/rgrp.c
fs/gfs2/super.c
fs/gfs2/trans.c
include/uapi/linux/gfs2_ondisk.h