Subject: struct buf trouble...
To: None <tech-kern@netbsd.org>
From: Anders Magnusson <ragge@ludd.luth.se>
List: tech-kern
Date: 06/04/2001 23:13:42
Something strange happens here, and I'm not sure what:

In struct buf there is an element "b_proc", which according to the 
comments in buf.h should be NULL if not doing phys I/O. But (at least)
if the struct buf comes from aiodoned (allocated in genfs_putpages
via pool_get from bufpool) it is instead set to 0xdeadbeef (I have
debug turned on). Question:

1) Is the comment wrong? (check for B_PHYS instead maybe?)
2) Is a bzero() missing somewhere, or so?
3) Have I screwed something real badly?

-- Ragge