Panic in ffs_blkfree()

Alan L. Cox alc at imimic.com
Sat May 3 01:20:30 PDT 2003


Ian Dowse wrote:
> 
> In message <3EB2FB35.8060104 at btc.adaptec.com>, Scott Long writes:
> >Kirk and all,
> >
> >Recently a panic started appearing on mine and other's systems while
> >under  load.  I have an SMP system with all UFS1+softupdates
> 
> Try reverting revisions sys/vm/vm_object.c 1.274 and kern/vfs_subr.c
> revision 1.444, i.e. apply the patch below. I think there may be
> cases where the `all' flag was necessary; instrumentation of
> vm_object_page_remove() in a kernel from Apr 5th shows cases where
> pages with both wrapped negative (indirection blocks I presume) and
> larger than object->size page indices get selected, so this would
> have been broken by limiting the range to < object->size.
> 

Yes, you're right.  It appears that the vm_object's size isn't properly
maintained for vnode-backed objects.

Alan


More information about the freebsd-current mailing list