public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Brian Foster <bfoster@redhat.com>
To: xfs@oss.sgi.com
Subject: [PATCH 0/4] xfsprogs: log format fixes, db command
Date: Wed, 25 Nov 2015 15:17:53 -0500	[thread overview]
Message-ID: <1448482677-44364-1-git-send-email-bfoster@redhat.com> (raw)

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

             reply	other threads:[~2015-11-25 20:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-25 20:17 Brian Foster [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1448482677-44364-1-git-send-email-bfoster@redhat.com \
    --to=bfoster@redhat.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox