Displaying 7 results from an estimated 7 matches for "refile_buffer".
2001 Mar 29
1
Re: Bug in __invalidate_buffers?
...problem. If a file write is in
progress when invalidate_buffers() is called, 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
cleanup_transaction
log_do_checkpoint
log_wait_for_space
start_this_handle
journal_start
ext3_file_write
do_readv_writev
sys_write
The oops is from "*(char *)0 = 0" added by the ext3 patch, but I take
it that trying to refile a free buffer is fundamentally a bad thing.
The oops is caus...
2001 May 04
1
LVM 0.9.1beta7 and ext3 0.0.6b
...f86d>] [<c015c98b>] [<c015caa3>] [<c0152986>] [<c0120176>]
[<c0139638>] [<c0129067>] [<c01329bc>] [<c0129e40>] [<c012a08e>] [<c010a034>]
Code: c6 05 00 00 00 00 00 e9 a6 00 00 00 90 80 7e 29 01 76 0a bb
>>EIP; c012c25f <refile_buffer+17/d0> <=====
Trace; c015f9bb <cleanup_transaction+12b/158>
Trace; c015fbae <log_do_checkpoint+1c6/220>
Trace; c015f86d <log_wait_for_space+8d/b0>
Trace; c015c98b <start_this_handle+307/3a8>
Trace; c015caa3 <journal_start+77/a0>
Trace; c0152986 <ext3_notify_...
2001 May 16
1
Re: [linux-lvm] lvm deadlock with 2.4.x kernel?
I think I have this one solved, I hope.
I think what Andreas and I are running into are a few different
assertions. One being the LVM lvm_do_pv_flush caused assertion which is
related directly to invalidate_buffers() being called which then triggers
refile_buffer() on a journaled buffer, which appears clean in all other
ways according to the checks in refile_buffer().
The following is what I've got in __invalidate_buffers() right now.
if (!bh->b_count && !buffer_journaled(bh) &&
(d...
2001 Jun 14
2
Assertion in buffer.c:1122 __refile_buffer
...ules/2.4.6-pre3/System.map.
Symbols match kernel version 2.4.6.
Loaded 256 symbols from 12 modules.
Linux version 2.4.6-pre3 (root@home1) (gcc version 2.95.3 20010315 (release)) #2 Wed Jun 13 19:53:28 EDT 2001
----- SNIP -------
VFS: Disk change detected on device ide1(22,64)
Assertion failure in __refile_buffer() at buffer.c:1122: "!journal_buffer_temp(bh)"
kernel BUG at buffer.c:1122!
invalid operand: 0000
CPU: 0
EIP: 0010:[__refile_buffer+93/1648]
EFLAGS: 00010286
eax: 0000001d ebx: c3d3a9c0 ecx: c7748000 edx: c02a9864
esi: 00000002 edi: c3d3a9c0 ebp: 00000001 esp: c7bede28
d...
2001 Jan 19
2
building ext3 as a module
...symtab+0x540): undefined reference to `jfs_prelock_buffer_check'
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':...
2001 Mar 30
1
Re: Bug in __invalidate_buffers?
...REE) {
+ 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 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_FRE...
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