Re: NFS client/buffer cache deadlock

From: Marc Olzheim <marcolz_at_stack.nl>
Date: Tue, 19 Apr 2005 18:09:00 +0200
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);

Marc

Received on Tue Apr 19 2005 - 14:09:02 UTC

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