It still here... panic: ufs_dirbad: bad dir
Matthew Dillon
dillon at apollo.backplane.com
Mon Feb 20 10:38:02 PST 2006
Could someone familiar with softupdates take a look at line 902
of kern/vfs_cluster.c?
There is a call to buf_start(tbp) there, but then just after that
in the B_VMIO code there is a brelse() call if one of the pages
making up the buffer is BUSY. A brelse() call there, after the
call to buf_start(), could leave the buffer in a very sad state
indeed!
It seems to me that that buf_start() call needs to be moved to
around line 949, after the VM check and just before the tbp is
added to the cluster list.
-Matt
More information about the freebsd-current
mailing list