[Cluster-devel] [PATCH 0/7] gfs2_edit journalX block reference feature and fixes

Andrew Price anprice at redhat.com
Fri Feb 28 09:35:27 UTC 2014


This patch set mainly adds a feature to gfs2_edit which allows us to highlight
the entries in a journal dump which refer to a particular block address. The
patches for this were written by Bob and I've rebased them on top of the the
current master branch with some added tweaks and cleanups. (Patches 3 to 6)

I've also included some patches which address a number of minor/potential
issues discovered by static analysis and remove another exit() call from
libgfs2. (Patches 1, 2 and 7)

Andrew Price (4):
  libgfs2: Remove another exit() call
  gfs2-utils: Fix up some errors reported by clang
  gfs2_edit: Use the metadata description in get_block_type
  gfs2_edit: More static analysis fixes

Bob Peterson (3):
  gfs2_edit: Separate out the journal-related functions to journal.c
  gfs2_edit: Add more intelligence to journal dumps
  gfs2_edit: Report referencing block address in the new journal code

 gfs2/edit/Makefile.am  |   4 +-
 gfs2/edit/extended.c   |   5 +-
 gfs2/edit/gfs2hex.c    |   7 +-
 gfs2/edit/hexedit.c    | 435 +++++------------------------------
 gfs2/edit/hexedit.h    |   7 +-
 gfs2/edit/journal.c    | 598 +++++++++++++++++++++++++++++++++++++++++++++++++
 gfs2/edit/journal.h    |   7 +
 gfs2/edit/savemeta.c   |  33 ++-
 gfs2/fsck/inode_hash.c |   6 +-
 gfs2/fsck/main.c       |   2 +-
 gfs2/fsck/pass2.c      |  69 ++----
 gfs2/fsck/pass3.c      |  22 +-
 gfs2/fsck/rgrepair.c   |  12 +-
 gfs2/fsck/util.c       |  21 +-
 gfs2/libgfs2/fs_ops.c  |  35 +--
 gfs2/libgfs2/gfs2l.c   |   1 +
 gfs2/libgfs2/libgfs2.h |   3 +-
 gfs2/libgfs2/rgrp.c    |   4 +-
 18 files changed, 743 insertions(+), 528 deletions(-)
 create mode 100644 gfs2/edit/journal.c
 create mode 100644 gfs2/edit/journal.h

-- 
1.8.5.3




More information about the Cluster-devel mailing list