All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH v5 0/3] GFS2: Introduce new gfs2_log_header_v2
@ 2018-01-18 16:04 Andreas Gruenbacher
  2018-01-18 16:04 ` [Cluster-devel] [PATCH v5 1/3] gfs2: Get rid of gfs2_log_header_in Andreas Gruenbacher
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Andreas Gruenbacher @ 2018-01-18 16:04 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Here's a revised version of Bob's gfs2_log_header_v2 patches from
January 4:

The first patch cleanus up get_log_header in a preliminary step.

The second patch incorporates the following chages:

 * Fix a NULL pointer access when recovering a node's own journal
   (sdp->sd_qc_inode is NULL in gfs2_write_log_header in that case).
 
 * Move the call to gfs2_log_bmap out of gfs2_log_write.  With that,
   lh_crc can be computed in gfs2_write_log_header and no separate
   gfs2_set_log_csum function is needed anymore.

 * Change lh_crc to only cover the rest of the block excluding the v1
   log header: there is no point in crc-protecting the v1 header a
   second time.

 * Since lh_crc covers the rest of the block and not only a few header
   fields, it makes sense to use crc32c, which is much faster on
   architectures that implement it in hardware.

The third patch is unchanged from Bob's last version.

Thanks,
Andreas

Andreas Gruenbacher (1):
  gfs2: Get rid of gfs2_log_header_in

Bob Peterson (2):
  GFS2: Introduce new gfs2_log_header_v2
  GFS2: Log the reason for log flushes in every log header

 fs/gfs2/aops.c                   |  3 +-
 fs/gfs2/file.c                   |  4 +-
 fs/gfs2/glops.c                  | 19 ++++++---
 fs/gfs2/incore.h                 |  1 -
 fs/gfs2/log.c                    | 83 +++++++++++++++++++++++++++++-----------
 fs/gfs2/log.h                    | 12 ++----
 fs/gfs2/lops.c                   | 16 ++++----
 fs/gfs2/lops.h                   |  3 ++
 fs/gfs2/ops_fstype.c             |  2 +-
 fs/gfs2/quota.c                  |  3 +-
 fs/gfs2/recovery.c               | 57 ++++++++++++---------------
 fs/gfs2/rgrp.c                   |  3 +-
 fs/gfs2/super.c                  | 13 +++++--
 fs/gfs2/trace_gfs2.h             | 11 ++++--
 fs/gfs2/trans.c                  |  3 +-
 include/uapi/linux/gfs2_ondisk.h | 46 +++++++++++++++++++++-
 16 files changed, 187 insertions(+), 92 deletions(-)

-- 
2.14.3



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

end of thread, other threads:[~2018-01-19 22:23 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-18 16:04 [Cluster-devel] [PATCH v5 0/3] GFS2: Introduce new gfs2_log_header_v2 Andreas Gruenbacher
2018-01-18 16:04 ` [Cluster-devel] [PATCH v5 1/3] gfs2: Get rid of gfs2_log_header_in Andreas Gruenbacher
2018-01-18 16:04 ` [Cluster-devel] [PATCH v5 2/3] GFS2: Introduce new gfs2_log_header_v2 Andreas Gruenbacher
2018-01-19 10:47   ` Andrew Price
2018-01-19 10:53     ` Steven Whitehouse
2018-01-19 12:19       ` Andrew Price
2018-01-19 14:35         ` Andreas Gruenbacher
2018-01-19 14:31   ` Andrew Price
2018-01-19 14:39     ` Steven Whitehouse
2018-01-19 15:06       ` Andrew Price
2018-01-19 20:06     ` Andrew Price
2018-01-19 22:23       ` Andrew Price
2018-01-18 16:04 ` [Cluster-devel] [PATCH v5 3/3] GFS2: Log the reason for log flushes in every log header Andreas Gruenbacher
2018-01-18 16:23 ` [Cluster-devel] [PATCH v5 0/3] GFS2: Introduce new gfs2_log_header_v2 Steven Whitehouse
2018-01-19 14:40 ` [Cluster-devel] [PATCH v6] " Andreas Gruenbacher
2018-01-19 15:14   ` Andrew Price

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.