Re: 2.6.0test9 Reiserfs boot time "buffer layer error at fs/buffer.c:431"

Andrew Morton
2003-10-29T20:30:47Z

lkml-031028@amos.mailshell.com wrote:
>
> Here are the results (output of dmesg) from booting a kernel with this
> patch:
>
> set_blocksize: size=1024
> set_blocksize: 1024 OK
> set_blocksize: size=1024
> set_blocksize: 1024 OK
> set_blocksize: size=1024
> set_blocksize: 1024 OK
> set_blocksize: size=1024
> set_blocksize: 1024 OK
> set_blocksize: size=4096
> buffer layer error at fs/buffer.c:431

hm, that didn't tell us much :(

Could you add Oleg's patch as well?

--- 25/fs/buffer.c~extra-buffer-diags Wed Oct 29 12:13:40 2003
+++ 25-akpm/fs/buffer.c Wed Oct 29 12:14:58 2003
@@ -428,6 +428,7 @@ __find_get_block_slow(struct block_devic
printk("block=%llu, b_blocknr=%llu\n",
(unsigned long long)block, (unsigned long long)bh->b_blocknr);
printk("b_state=0x%08lx, b_size=%u\n", bh->b_state, bh->b_size);
+ printk("device blocksize: %d\n", 1 << bd_inode->i_blkbits);
out_unlock:
spin_unlock(&bd_mapping->private_lock);
page_cache_release(page);

_