Re: Possible 2.2.14pre12 bug: set_blocksize message on umount

Andrea Arcangeli (andrea@suse.de)
Tue, 14 Dec 1999 02:20:20 +0100 (CET)


On Mon, 13 Dec 1999, Nate Eldredge wrote:

>Hope this helps in tracking down the bug. Please let me know if you
>need any more details.

Could you apply this patch over your current tree (that should be clean
2.2.14pre12 plus the other patch I posted recently on l-k)?

diff -urN 2.2.14pre12-set_blocksize/fs/buffer.c 2.2.14pre12-set_blocksize-debug/fs/buffer.c
--- 2.2.14pre12-set_blocksize/fs/buffer.c Sun Dec 12 17:25:18 1999
+++ 2.2.14pre12-set_blocksize-debug/fs/buffer.c Tue Dec 14 02:05:40 1999
@@ -694,9 +694,9 @@
clear_bit(BH_Req, &bh->b_state);
printk(KERN_WARNING
"set_blocksize: "
- "b_count %d, dev %s, block %lu, from %p\n",
+ "b_count %d, dev %s, block %lu, from %p\n, creator %p",
bh->b_count, bdevname(bh->b_dev),
- bh->b_blocknr, __builtin_return_address(0));
+ bh->b_blocknr, __builtin_return_address(0), bh->creator);
}
if (slept)
goto again;
@@ -770,6 +770,7 @@
*/
init_buffer(bh, dev, block, end_buffer_io_sync, NULL);
bh->b_state=0;
+ bh->creator = __builtin_return_address(0);
insert_into_queues(bh);
return bh;

diff -urN 2.2.14pre12-set_blocksize/include/linux/fs.h 2.2.14pre12-set_blocksize-debug/include/linux/fs.h
--- 2.2.14pre12-set_blocksize/include/linux/fs.h Sun Dec 12 17:45:06 1999
+++ 2.2.14pre12-set_blocksize-debug/include/linux/fs.h Tue Dec 14 02:06:59 1999
@@ -222,6 +222,7 @@
*/
void (*b_end_io)(struct buffer_head *bh, int uptodate);
void *b_dev_id;
+ void * creator;
};

typedef void (bh_end_io_t)(struct buffer_head *bh, int uptodate);

I just tryed to reproduce here and I couldn't (...).

Andrea

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/