public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] xfsprogs: log format fixes, db command
@ 2015-11-25 20:17 Brian Foster
  2015-11-25 20:17 ` [PATCH 1/4] logprint: use correct ext. header count for unaligned size Brian Foster
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Brian Foster @ 2015-11-25 20:17 UTC (permalink / raw)
  To: xfs

Hi all,

This series includes a few fixes to log formatting/handling code in
xfsprogs. Patch 1 fixes a minor issue in xfs_logprint. Patch 2 fixes the
incorrect formatting issue with larger lsunit alignments noted in the
previously posted torn log write detection series:

  http://oss.sgi.com/pipermail/xfs/2015-November/044845.html

Patch 3 is mostly a refactor to allow the log format command to use
variable sized records rather than unconditionally use 256kB records.
Patch 4 adds the 'logformat' xfs_db command to facilitate testing of the
log formatting mechanism.

This has been lightly tested with xfstests, including via a couple
forthcoming tests that take advantage of the logformat command.
Thoughts, reviews, flames appreciated.

Brian

Brian Foster (4):
  logprint: use correct ext. header count for unaligned size
  libxfs: format the log with valid log record headers
  libxfs: conditionalize log format record size optimization
  db: add the logformat command

 copy/xfs_copy.c     |   2 +-
 db/Makefile         |   4 +-
 db/command.c        |   2 +
 db/logformat.c      | 149 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 db/logformat.h      |  19 +++++++
 db/metadump.c       |   2 +-
 db/sb.c             |   2 +-
 include/libxfs.h    |   2 +-
 libxfs/rdwr.c       |  89 ++++++++++++++++++++++++-------
 logprint/log_misc.c |   2 +
 mkfs/xfs_mkfs.c     |   3 +-
 repair/phase2.c     |   2 +-
 repair/xfs_repair.c |   2 +-
 13 files changed, 251 insertions(+), 29 deletions(-)
 create mode 100644 db/logformat.c
 create mode 100644 db/logformat.h

-- 
2.1.0

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

end of thread, other threads:[~2015-11-25 20:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-25 20:17 [PATCH 0/4] xfsprogs: log format fixes, db command Brian Foster
2015-11-25 20:17 ` [PATCH 1/4] logprint: use correct ext. header count for unaligned size Brian Foster
2015-11-25 20:17 ` [PATCH 2/4] libxfs: format the log with valid log record headers Brian Foster
2015-11-25 20:17 ` [PATCH 3/4] libxfs: conditionalize log format record size optimization Brian Foster
2015-11-25 20:17 ` [PATCH 4/4] db: add the logformat command Brian Foster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox