Date: Tue, 26 Apr 2005 18:06:09 +0200 From: Marc Olzheim <marcolz@stack.nl> To: Brian Fundakowski Feldman <green@freebsd.org> Cc: freebsd-standards@freebsd.org Subject: Re: NFS client/buffer cache deadlock Message-ID: <20050426160609.GA68511@stack.nl> In-Reply-To: <20050426155043.GC5789@green.homeunix.org> References: <20050419161616.GF1157@green.homeunix.org> <20050419204723.GG1157@green.homeunix.org> <20050420140409.GA77731@stack.nl> <20050420142448.GH1157@green.homeunix.org> <20050420143842.GB77731@stack.nl> <16998.36437.809896.936800@khavrinen.csail.mit.edu> <20050420173859.GA99695@stack.nl> <20050426140701.GB5789@green.homeunix.org> <20050426151751.GB68038@stack.nl> <20050426155043.GC5789@green.homeunix.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 26, 2005 at 11:50:43AM -0400, Brian Fundakowski Feldman wrote: > > I'm okay with the fact that simultaneous huge writes to the same file > > over NFS could lead to corruption and that the exact outcome is > > undefined. > >=20 > > This is exactly how it was in FreeBSD 4.x and that's perfectly workable. > >=20 > > But that's just my way of looking at it and certainly not ideal. :-/ >=20 > I don't know what you mean. The exact same bug should exists in 4.x, > and should cause a system deadlock in exactly the same scenario. I'm not sure you understand the "scenario". All I do is create a new file and writev 600 * 1MB to it. This creates a VFS hangup on FreeBSD 5.x after writing an amount of 2-100 MB (depending on how much memory is in the system), while 4.x just does what it is told and doesn't hangup. I do not have any synchronisation problems. See kern/79208 Marc --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCbmbxezjnobFOgrERAn9DAJ944AM1NardYTUU3Gv/QA4ym0Hd3ACcCrQn DwYvjfTwGd3v7iTxdlZczdI= =7qgW -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050426160609.GA68511>