Linux-ext4 Archive on
 help / color / Atom feed
From: "Theodore Y. Ts'o" <>
To: Jan Kara <>
	Fengnan Chang <>,, changfengnan <>
Subject: Re: [PATCH v6] jbd2: avoid transaction reuse after reformatting
Date: Thu, 15 Oct 2020 10:49:58 -0400
Message-ID: <> (raw)
In-Reply-To: <>

On Mon, Oct 12, 2020 at 06:49:00PM +0200, Jan Kara wrote:
> From: changfengnan <>
> When ext4 is formatted with lazy_journal_init=1 and transactions from
> the previous filesystem are still on disk, it is possible that they are
> considered during a recovery after a crash. Because the checksum seed
> has changed, the CRC check will fail, and the journal recovery fails
> with checksum error although the journal is otherwise perfectly valid.
> Fix the problem by checking commit block time stamps to determine
> whether the data in the journal block is just stale or whether it is
> indeed corrupt.
> Reported-by: kernel test robot <>
> Reviewed-by: Andreas Dilger <>
> Signed-off-by: Fengnan Chang <>
> Signed-off-by: Jan Kara <>

Thanks, applied.

					- Ted

      parent reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-12 16:49 Jan Kara
2020-10-13  5:42 ` 答复: " 常凤楠
2020-10-15 14:49 ` Theodore Y. Ts'o [this message]

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:

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

  git send-email \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-ext4 Archive on

Archives are clonable:
	git clone --mirror linux-ext4/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-ext4 linux-ext4/ \
	public-inbox-index linux-ext4

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone