Re: Question about panic in brelse()

2009-01-20 Thread Christoph Mallon
Christoph Mallon schrieb: @@ -1340,7 +1340,8 @@ } TAILQ_INSERT_HEAD(&bufqueues[bp->b_qindex], bp, b_freelist); /* buffers with junk contents */ -} else if (bp->b_flags & (B_INVAL | B_NOCACHE | B_RELBUF) || +} else if (bp->b_flags & (B_INVAL | B_RELBUF) || +(

Re: Question about panic in brelse()

2009-01-20 Thread Christoph Mallon
Sadly I got no response about the panic problem so far. I investigated further and I came to the conclusion, that there are at least two problems/bugs in brelse(). Here are my findings. All lines refer to sys/kern/vfs_bio.c at r183754, which is the most recent version of this file. Below is t

Question about panic in brelse()

2009-01-11 Thread Christoph Mallon
Hi, I observe a failed assertion in the VFS regarding a buffer. I investigated a bit and now I want to present my findings and I have a question: Assume I have a buffer with b_iocmd = BIO_WRITE b_ioflags = BIO_ERROR b_error = EIO b_flags = B_NOCACHE passed to brelse() in kern/vf