[Ocfs2-devel] [PATCH 2/2] ocfs2: add error handling path when jbd2 enter ABORT status
Heming Zhao
heming.zhao at suse.com
Sun Apr 30 03:16:52 UTC 2023
More info for this patch, maybe I should write below info in commit log.
From the comment of __ocfs2_abort(), there is another way to handle
journal ABORT: panic.
And fstest generic test NO. 648 will trigger
ocfs2_abort then make kernel
panic. I don't like the panic style, ocfs2
should elegantly handle journal
abnormal case.
Thanks,
Heming
On 4/30/23 11:13 AM, Heming Zhao wrote:
> fstest generic cases 347 361 628 629 trigger a same issue:
> When jbd2 enter ABORT status, ocfs2 ignores it and keep going to commit
> journal.
>
> This commit gives ocfs2 ability to handle jbd2 ABORT case.
>
> Signed-off-by: Heming Zhao <heming.zhao at suse.com>
> ---
> fs/ocfs2/alloc.c | 10 ++++++----
> fs/ocfs2/journal.c | 5 +++++
> fs/ocfs2/localalloc.c | 3 +++
> 3 files changed, 14 insertions(+), 4 deletions(-)
>
> diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c
More information about the Ocfs2-devel
mailing list