NFS client/buffer cache deadlock
Brian Fundakowski Feldman
green at freebsd.org
Tue Apr 19 09:17:19 PDT 2005
On Tue, Apr 19, 2005 at 06:09:00PM +0200, Marc Olzheim wrote:
> On Tue, Apr 19, 2005 at 06:02:58PM +0200, Marc Olzheim wrote:
> > On Tue, Apr 19, 2005 at 11:18:00AM -0400, Brian Fundakowski Feldman wrote:
> > > Does this work for you?
> >
> > ...
> >
> > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/src/sys/nfsclient/nfs_bio.c
> > /usr/src/sys/nfsclient/nfs_bio.c: In function `nfs_write':
> > /usr/src/sys/nfsclient/nfs_bio.c:976: error: invalid type argument of `->'
> > /usr/src/sys/nfsclient/nfs_bio.c:976: error: invalid type argument of `->'
> > /usr/src/sys/nfsclient/nfs_bio.c:984: error: invalid type argument of `->'
> > /usr/src/sys/nfsclient/nfs_bio.c:984: error: invalid type argument of `->'
> > *** Error code 1
>
> That's about the BO_LOCK(vp->v_bufobj); and the BO_UNLOCK(vp->v_bufobj);
Yeah, I get that too. I have no clue why it's doing that, I was figuring
it was just my compile setup...
--
Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\
<> green at FreeBSD.org \ The Power to Serve! \
Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\
More information about the freebsd-hackers
mailing list