public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Allison Henderson <allison.henderson@oracle.com>
To: Catherine Hoang <catherine.hoang@oracle.com>,
	linux-xfs@vger.kernel.org, fstests@vger.kernel.org
Subject: Re: [PATCH v2 4/4] common/log: Fix *_dump_log routines for ext4
Date: Fri, 8 Oct 2021 10:49:23 -0700	[thread overview]
Message-ID: <9046a560-e064-b009-6867-b9e65d7296c7@oracle.com> (raw)
In-Reply-To: <20211007002641.714906-5-catherine.hoang@oracle.com>



On 10/6/21 5:26 PM, Catherine Hoang wrote:
> dumpe2fs -h displays the superblock contents, not the journal contents.
> Use the logdump utility to dump the contents of the journal.
> 
> Signed-off-by: Catherine Hoang <catherine.hoang@oracle.com>
Looks good to me.  Thanks for the fix
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>

> ---
>   common/log | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/common/log b/common/log
> index 0a9aaa7f..154f3959 100644
> --- a/common/log
> +++ b/common/log
> @@ -229,7 +229,7 @@ _scratch_dump_log()
>   		$DUMP_F2FS_PROG $SCRATCH_DEV
>   		;;
>   	ext4)
> -		$DUMPE2FS_PROG -h $SCRATCH_DEV
> +		$DEBUGFS_PROG -R "logdump -a" $SCRATCH_DEV
>   		;;
>   	*)
>   		;;
> @@ -246,7 +246,7 @@ _test_dump_log()
>   		$DUMP_F2FS_PROG $TEST_DEV
>   		;;
>   	ext4)
> -		$DUMPE2FS_PROG -h $TEST_DEV
> +		$DEBUGFS_PROG -R "logdump -a" $TEST_DEV
>   		;;
>   	*)
>   		;;
> 

  parent reply	other threads:[~2021-10-08 17:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-07  0:26 [PATCH v2 0/4] Dump log cleanups Catherine Hoang
2021-10-07  0:26 ` [PATCH v2 1/4] xfstests: Rename _scratch_inject_logprint to _scratch_remount_dump_log Catherine Hoang
2021-10-07 16:20   ` Darrick J. Wong
2021-10-07  0:26 ` [PATCH v2 2/4] xfstests: Rename _test_inject_logprint to _test_remount_dump_log Catherine Hoang
2021-10-07 16:19   ` Darrick J. Wong
2021-10-07  0:26 ` [PATCH v2 3/4] common/log: Move *_dump_log routines to common/log Catherine Hoang
2021-10-07 16:19   ` Darrick J. Wong
2021-10-07  0:26 ` [PATCH v2 4/4] common/log: Fix *_dump_log routines for ext4 Catherine Hoang
2021-10-07 16:15   ` Darrick J. Wong
2021-10-07 18:24     ` [External] : " Catherine Hoang
2021-10-08 17:49   ` Allison Henderson [this message]
2021-10-08 19:06     ` Catherine Hoang

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=9046a560-e064-b009-6867-b9e65d7296c7@oracle.com \
    --to=allison.henderson@oracle.com \
    --cc=catherine.hoang@oracle.com \
    --cc=fstests@vger.kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    /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