[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165849767595.303416.7829836253620190185.b4-ty@mit.edu>
Date: Fri, 22 Jul 2022 09:58:13 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: chengzhihao1@...wei.com, lczerner@...hat.com,
ritesh.list@...il.com, akpm@...l.org, shaggy@...tin.ibm.com,
jack@...e.com
Cc: "Theodore Ts'o" <tytso@....edu>, yukuai3@...wei.com,
linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] jbd2: Fix assertion 'jh->b_frozen_data == NULL' failure when journal aborted
On Fri, 15 Jul 2022 20:51:52 +0800, Zhihao Cheng wrote:
> Following process will fail assertion 'jh->b_frozen_data == NULL' in
> jbd2_journal_dirty_metadata():
>
> jbd2_journal_commit_transaction
> unlink(dir/a)
> jh->b_transaction = trans1
> jh->b_jlist = BJ_Metadata
> journal->j_running_transaction = NULL
> trans1->t_state = T_COMMIT
> unlink(dir/b)
> handle->h_trans = trans2
> do_get_write_access
> jh->b_modified = 0
> jh->b_frozen_data = frozen_buffer
> jh->b_next_transaction = trans2
> jbd2_journal_dirty_metadata
> is_handle_aborted
> is_journal_aborted // return false
>
> [...]
Applied, thanks!
[1/1] jbd2: Fix assertion 'jh->b_frozen_data == NULL' failure when journal aborted
commit: 4b18734448a3ee7100c5936a7fc0f9b1f2567e07
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists