Displaying 4 results from an estimated 4 matches for "journal_remove_checkpoint".
2001 Mar 29
1
Re: Bug in __invalidate_buffers?
...rs with b_count == 0 and not dirty), which
must conflict somehow with what jfs expects of the state of a buffer. It
seems we would not have this problem if bh->b_count was non-zero.
What I'm just testing is checking if a buffer is B_FREE before calling
refile_buffer() on it, and just doing journal_remove_checkpoint() on
the buffer directly... Nope, still not enough - now I get an oops:
[[[LVM is in the process of calling PV_FLUSH ioctl => invalidate_buffers()]]]
Attempt to refile free buffer
Unable to handle kernel NULL pointer dereference at virtual address 00000000
<kdb stuff>
refile_buffer
journ...
2001 Mar 30
1
Re: Bug in __invalidate_buffers?
...:40 2001
+++ fs/jfs/checkpoint.c Thu Mar 29 17:08:51 2001
@@ -106,8 +106,15 @@
lock_journal(journal);
return 1;
}
-
- if (!buffer_dirty(bh) && !buffer_jdirty(bh) &&
+
+ if (bh->b_dev == B_FREE) {
+ if (bh->b_cp_transaction) {
+ unlock_journal(journal);
+ journal_remove_checkpoint(bh);
+ lock_journal(journal);
+ return 1;
+ }
+ } else if (!buffer_dirty(bh) && !buffer_jdirty(bh) &&
bh->b_list != BUF_CLEAN) {
unlock_journal(journal);
refile_buffer(bh);
--- fs/jfs/journal.c.orig Thu Mar 1 16:14:59 2001
+++ fs/jfs/journal.c Thu Mar 29...
2001 Jan 19
2
building ext3 as a module
...;
kernel/kernel.o(__ksymtab+0x548): undefined reference to `jfs_preclean_buffer_check'
fs/fs.o: In function `set_blocksize':
fs/fs.o(.text+0x300e): undefined reference to `jfs_preclean_buffer_check'
fs/fs.o: In function `refile_buffer':
fs/fs.o(.text+0x341f): undefined reference to `journal_remove_checkpoint'
drivers/block/block.a(ll_rw_blk.o): In function `add_request':
ll_rw_blk.o(.text+0x568): undefined reference to `jfs_preclean_buffer_check'
drivers/block/block.a(ll_rw_blk.o): In function `make_request':
ll_rw_blk.o(.text+0x75b): undefined reference to `jfs_prelock_buffer_check'...
2001 Jun 03
3
making 0.0.6b a module
I have ext3 0.0.6b + 2.2.19 and cannot get ext3 to compile as a module.
If I try to modularize it, or turn in off completely, the kernel build
fails. Is there an easy fix for this, or is there something that I am
missing?
Thanks.
Peter