search for: journal_datalist_lock

Displaying 3 results from an estimated 3 matches for "journal_datalist_lock".

2005 Jan 04
0
[PATCH] BUG on error handlings in Ext3 under I/O failure condition
...linux-2.4.29-pre3-bk2/fs/jbd/checkpoint.c linux-2.4.29-pre3-bk2_fix/fs/jbd/checkpoint.c --- linux-2.4.29-pre3-bk2/fs/jbd/checkpoint.c 2002-11-29 08:53:15.000000000 +0900 +++ linux-2.4.29-pre3-bk2_fix/fs/jbd/checkpoint.c 2005-01-04 19:58:32.000000000 +0900 @@ -142,7 +142,7 @@ spin_unlock(&journal_datalist_lock); log_start_commit(journal, transaction); unlock_journal(journal); - log_wait_commit(journal, tid); + (void) log_wait_commit(journal, tid); goto out_return_1; } diff -Nru linux-2.4.29-pre3-bk2/fs/jbd/commit.c linux-2.4.29-pre3-bk2_fix/fs/jbd/commit.c --- linux-2.4.29-pre3-b...
2003 Jan 18
2
[patch 2.4] Fix ext3 scheduling storm and lockup
...to use the buffer. diff -puN fs/jbd/transaction.c~ext3-scheduling-storm fs/jbd/transaction.c --- 24/fs/jbd/transaction.c~ext3-scheduling-storm 2003-01-16 02:45:19.000000000 -0800 +++ 24-akpm/fs/jbd/transaction.c 2003-01-16 02:45:19.000000000 -0800 @@ -669,7 +669,8 @@ repeat: spin_unlock(&journal_datalist_lock); unlock_journal(journal); /* commit wakes up all shadow buffers after IO */ - sleep_on(&jh2bh(jh)->b_wait); + wait_event(jh2bh(jh)->b_wait, + jh->b_jlist != BJ_Shadow); lock_journal(journal); goto repeat; } _
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