search for: j_assert_jh

Displaying 7 results from an estimated 7 matches for "j_assert_jh".

2009 Apr 30
1
[PATCH] ocfs2: Fix a missing credit when deleting from indexed directories.
The ocfs2 directory index updates two blocks when we remove an entry - the dx root and the dx leaf. OCFS2_DELETE_INODE_CREDITS was only accounting for the dx leaf. This shows up when ocfs2_delete_inode() runs out of credits in jbd2_journal_dirty_metadata() at "J_ASSERT_JH(jh, handle->h_buffer_credits > 0);". The test that caught this was running dirop_file_racer from the ocfs2-test suite with a 250-character filename PREFIX. Run on a 512B blocksize, it forces the orphan dir index to grow large enough to trigger. Signed-off-by: Joel Becker <joel.beck...
2009 Sep 23
0
jbd/kjournald oops on 2.6.30.1
...fffffff8037b788 <__journal_remove_journal_head+40>: cmpq $0x0,0x28(%rbx) 0xffffffff8037b78d <__journal_remove_journal_head+45>: je 0xffffffff8037b794 <__journal_remove_journal_head+52> ....... ....... ============== The oops seems be due to NULL journal head while evaluating J_ASSERT_JH() macro: ============== static void __journal_remove_journal_head(struct buffer_head *bh) { struct journal_head *jh = bh2jh(bh); J_ASSERT_JH(jh, jh->b_jcount >= 0); <=== jh is NULL get_bh(bh); if (jh->b_jcount == 0) { if (jh->b_transaction...
2023 Feb 17
1
[PATCH] ocfs2: fix defrag path triggering jbd2 ASSERT
...al access/dirty from __ocfs2_move_extent(). The discussion for this patch: https://oss.oracle.com/pipermail/ocfs2-devel/2023-February/000647.html Signed-off-by: Heming Zhao <heming.zhao at suse.com> --- v1 -> v2: - doesn't change any code. - change patch subject from "ocfs2: fix J_ASSERT_JH in defragment path" to "ocfs2: fix defrag path triggering jbd2 ASSERT" - rewrite/polish commit log v1: https://oss.oracle.com/pipermail/ocfs2-devel/2022-May/000101.html --- fs/ocfs2/move_extents.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/fs/ocfs2/move_exten...
2002 May 31
2
PATCH for filesys corruption in ext3 with data=journal
...;add to new checkpointing trans"); __journal_insert_checkpoint(jh, commit_transaction); JBUFFER_TRACE(jh, "refile for checkpoint writeback"); __journal_refile_buffer(jh); } else { + clear_bit(BH_Freed, &bh->b_state); J_ASSERT_BH(bh, !buffer_dirty(bh)); J_ASSERT_JH(jh, jh->b_next_transaction == NULL); __journal_unfile_buffer(jh); --- ./fs/jbd/transaction.c 2002/05/26 23:13:05 1.2 +++ ./fs/jbd/transaction.c 2002/05/28 09:24:45 @@ -1834,6 +1834,7 @@ * running transaction if that is set, but nothing * else. */ JBUFFER_TRACE(jh, "on committ...
2001 Oct 09
2
Assert in jbd-kernel.c
...eclean_buffer_check() at jbd-kernel.c:80: "(((bh)->b_state & (1UL << BH_Dirty)) != 0)" -- cut here -- cut here -- cut here -- cut here -- cut here -- Here is line 80 from jbd-kernel.c: -- cut here -- cut here -- cut here -- cut here -- cut here -- J_ASSERT_JH(jh, buffer_dirty(bh)); -- cut here -- cut here -- cut here -- cut here -- cut here -- Then on the reboot, the boot message included this: -- cut here -- cut here -- cut here -- cut here -- cut here -- EXT3-fs: INFO: recovery required on readonly filesystem. EXT3-fs: write access will be enabled...
2005 Sep 09
7
[PATCH 0/6] jbd cleanup
The following 6 patches cleanup the jbd code and kill about 200 lines. First of 4 patches can apply to 2.6.13-git8 and 2.6.13-mm2. The rest of them can apply to 2.6.13-mm2. fs/jbd/checkpoint.c | 179 +++++++++++-------------------------------- fs/jbd/commit.c | 101 ++++++++++-------------- fs/jbd/journal.c | 11 +- fs/jbd/revoke.c | 158
2002 Jun 06
2
More ext3 fileserver woes ...
Well.... you might remember that I have had problems will my NFS fileserver that run ext3 with data=journal. The filesystem corruption now seems too be solved with the patch (plus amendment) that I posted, so I am happy about that... but there is more. I have known for a while that ext3 doesn't behave very well when the journal fills up. If it finds that the journal is full, and the