search for: bj_none

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

2001 Aug 23
2
EXT3 Trouble on 2.4.4
...b_count:2 b_blocknr:1 b_jbd:1 b_frozen_data:00000000 b_committed_data:00000000 b_transaction:1 b_next_transaction:0 b_cp_transaction:1 b_trans_is_running:0 b_trans_is_comitting:1 b_jcount:0 <0> __refile_buffer() [buffer.c:1135] enter b_state:0x92 b_list:BUF_CLEAN b_jlist:BJ_None on_lru:1 cpu:0 on_hash:1 b_count:2 b_blocknr:1 b_jbd:1 b_frozen_data:00000000 b_committed_data:00000000 b_transaction:0 b_next_transaction:0 b_cp_transaction:1 b_trans_is_running:0 b_trans_is_comitting:0 b_jcount:0 <0> __refile_buffer() [buffer.c:1150] exit b_state:0...
2001 May 16
1
Re: [linux-lvm] lvm deadlock with 2.4.x kernel?
...;& (destroy_dirty_buffers || !buffer_dirty(bh))) put_last_free(bh); if (slept) goto again; Stephen suggested something along the above a bit ago, except he uses bh->b_jlist == BJ_None. buffer_journaled() seems to be a function in fs.h which seems a bit more appropriate. Next, with the above we'd still see problems. My next patch included a suggestion from Heinz to add lock_kernel() and unlock_kernel() around the fsync_dev() and invalidate_buffers() in lvm.c/lvm_do_pv_flus...
2001 Jul 29
1
2.2.19/0.0.7a: bonnie -> VM problems
...e same problem again; it seems "free" in vmstat never dropped below 1000 with ext2. This is how I solved the 2 ext3 rejects 1) fs/buffer.c @@ -908,9 +933,13 @@ if (buf->b_count) { buf->b_count--; + if (!buf->b_count && + (buf->b_jlist != BJ_None && buf->b_jlist != BJ_Shadow && buf->b_jlis t != BJ_Data)) + J_ASSERT (!test_bit(BH_JWrite, &buf->b_state)); return; } printk("VFS: brelse: Trying to free free buffer\n"); + J_ASSERT(buf->b_count > 0); *(int *)0 = 0; &l...
2001 Jul 13
0
0.0.7a + rh2.2.19: help solve rejects
...kernel. 1) fs/buffer.c Should I put "J_ASSERT(buf->b_count > 0);" before or after " *(int *)0 = 0;"? ===== ext3 0.0.7a patch --- 934,946 ---- if (buf->b_count) { buf->b_count--; + if (!buf->b_count && + (buf->b_jlist != BJ_None && buf->b_jlist != BJ_Shadow && buf->b_jlis t != BJ_Data)) + J_ASSERT (!test_bit(BH_JWrite, &buf->b_state)); return; } printk("VFS: brelse: Trying to free free buffer\n"); + J_ASSERT(buf->b_count > 0); } ===== redhat lates...
2001 Apr 19
1
0.0.6b conflict with raid patch
...BH_Freed 12 /* 1 if buffer has been freed (truncated) */ +#define BH_Revoked 13 /* 1 if buffer has been revoked from the log */ +#define BH_RevokeValid 14 /* 1 if buffer revoked flag is valid */ +#define BH_JDirty 15 /* 1 if buffer is dirty but journaled */ + +/* journaling buffer types */ +#define BJ_None 0 /* Not journaled */ +#define BJ_Data 1 /* Normal data: flush before commit */ +#define BJ_Metadata 2 /* Normal journaled metadata */ +#define BJ_Forget 3 /* Buffer superceded by this transaction */ +#define BJ_IO 4 /* Buffer is for temporary IO use */ +#define BJ_Shadow 5 /* Buffer contents be...
2001 May 04
1
LVM 0.9.1beta7 and ext3 0.0.6b
Hi, I've recently been playing about with recent ext3 0.0.6b and lvm 0.9.1 beta7 and am now able to trigger an "Attempt to refile free buffer" assertion. This seems to "only" occur when using ext3 on the root filesystem. Possibly that is related to the fact that the lvm utility I'm using to reproduce this problem is modifying data in /etc. The easist reproduction
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