search for: journal_unfile_buff

Displaying 2 results from an estimated 2 matches for "journal_unfile_buff".

Did you mean: journal_unfile_buffer
2001 Mar 30
1
Re: Bug in __invalidate_buffers?
...fs/jfs/journal.c.orig Thu Mar 1 16:14:59 2001 +++ fs/jfs/journal.c Thu Mar 29 17:09:23 2001 @@ -242,9 +242,13 @@ do { bh = next; transaction->t_datalist = next = bh->b_tnext; - - if (!buffer_locked(bh) && - !buffer_dirty(bh)) { + + if (bh->b_dev == B_FREE) { + journal_unfile_buffer(bh); + bh->b_transaction = NULL; + if (bh->b_cp_transaction) + journal_remove_checkpoint(bh); + } else if (!buffer_locked(bh) && !buffer_dirty(bh)) { journal_unfile_buffer(bh); bh->b_transaction = NULL; unlock_journal(transaction->t_journal); -- Andreas Di...
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