Re: NFS client/buffer cache deadlock

From: Brian Fundakowski Feldman <green_at_freebsd.org>
Date: Tue, 19 Apr 2005 12:16:16 -0400
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.                       \,,,,,,,,,,,,,,,,,,,,,,\
Received on Tue Apr 19 2005 - 14:17:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:32 UTC