NFS client/buffer cache deadlock

Marc Olzheim marcolz at
Wed Apr 27 10:15:25 PDT 2005

On Wed, Apr 27, 2005 at 12:08:57PM -0400, Brian Fundakowski Feldman wrote:
> > Yes, a single writev(). Just like in the kern/79207 PR.
> > 
> > It doesn't have to be superfast (why would I use NFS otherwise), just as
> > long as it's threadsafe / atomic.
> Alright, this will do synchronous, instead of short, writes (also,
> of course, not deadlock the system) if you are trying to use an
> excessively large buffer size.
> <>
> <>

Great! This seems to do the trick and isn't that slow (about 2.8 MB/sec
over 100 MBit, writing 600 * 1MB, 4.x gets about 5.5 MB/sec on the same
system); it's fast enough for me and more importantly, it doesn't lock
the system down anymore. ;-)

Thanks a lot!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-stable mailing list