Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Apr 2005 18:09:00 +0200
From:      Marc Olzheim <marcolz@stack.nl>
To:        Brian Fundakowski Feldman <green@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: NFS client/buffer cache deadlock
Message-ID:  <20050419160900.GB12287@stack.nl>
In-Reply-To: <20050419160258.GA12287@stack.nl>
References:  <20050415050821.GO981@green.homeunix.org> <20050415132108.GC85922@stack.nl> <20050415150708.GP981@green.homeunix.org> <20050418092550.GA97539@stack.nl> <20050418092752.GB97539@stack.nl> <20050418202213.GC1157@green.homeunix.org> <20050418203321.GA88774@stack.nl> <20050419133227.GA11612@stack.nl> <20050419151800.GE1157@green.homeunix.org> <20050419160258.GA12287@stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--K8nIJk4ghYZn606h
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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?
>=20
> ...
>=20
> cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototy=
pes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-ex=
tensions -std=3Dc99 -g -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/con=
trib/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/co=
ntrib/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=3D8000 --param in=
line-unit-growth=3D100 --param large-function-growth=3D1000  -mno-align-lon=
g-strings -mpreferred-stack-boundary=3D2  -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

--K8nIJk4ghYZn606h
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCZS0cezjnobFOgrERAq8DAKCgY7RxdUXoXxn82VqsHL+8E6ipfQCgu8aa
XRz3rvCIHRMZ8fWKrtbBSog=
=b9j1
-----END PGP SIGNATURE-----

--K8nIJk4ghYZn606h--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050419160900.GB12287>