search for: bh_jwrite

Displaying 5 results from an estimated 5 matches for "bh_jwrite".

2001 Jul 12
1
ext3 0.9.1 doubt
Hi, I found the following, suspect looking, gem in ext3-2.4-0.9.1-246.gz. Is this supposed to compile or is it just a tyypo ? +enum jbd_state_bits { + BH_JWrite + = BH_PrivateStart, /* 1 if being written to log (@@@ DEBUGGING) */ + BH_Freed, /* 1 if buffer has been freed (truncated) */ Rik -- Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose... http://www.surriel.com/ h...
2001 Jul 13
0
0.0.7a + rh2.2.19: help solve rejects
..."? ===== 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 latest 2.2.19 if (buf->b_count) { buf->b_count--; return; } printk("VFS: brelse: Trying t...
2001 Jul 29
1
2.2.19/0.0.7a: bonnie -> VM problems
...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; <== This is RH specific, I chose to put J_ASSERT before it } 2) +1 to all added stuff include/linux/fs.h @@ -192,6 +1...
2001 Apr 19
1
0.0.6b conflict with raid patch
...1 20:02:45 2001 @@ -191,6 +197,25 @@ #define BH_Req 3 /* 0 if the buffer has been invalidated */ #define BH_Protected 6 /* 1 if the buffer is protected */ #define BH_Wait_IO 7 /* 1 if we should throttle on this buffer */ +#define BH_Temp 8 /* 1 if the buffer is temporary (unlinked) */ +#define BH_JWrite 9 /* 1 if being written to log (@@@ DEBUGGING) */ +#define BH_QuickFree 10 /* 1 if alloced and freed quickly (see below)*/ +#define BH_Alloced 11 /* 1 if buffer has been allocated */ +#define BH_Freed 12 /* 1 if buffer has been freed (truncated) */ +#define BH_Revoked 13 /* 1 if buffer has been rev...
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