From owner-freebsd-hackers Tue Apr 4 19:45:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id C447E37B88B for ; Tue, 4 Apr 2000 19:45:07 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e353Ajq13630; Tue, 4 Apr 2000 20:10:45 -0700 (PDT) Date: Tue, 4 Apr 2000 20:10:45 -0700 From: Alfred Perlstein To: Matthew Dillon Cc: Andrew Gallatin , freebsd-hackers@FreeBSD.ORG Subject: Re: reducing the number of NFSv3 commit ops Message-ID: <20000404201045.B20770@fw.wintelcom.net> References: <14570.10864.359054.10598@grasshopper.cs.duke.edu> <20000404141641.P20770@fw.wintelcom.net> <14570.22237.61025.935384@grasshopper.cs.duke.edu> <20000404143243.S20770@fw.wintelcom.net> <200004050233.TAA72623@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200004050233.TAA72623@apollo.backplane.com>; from dillon@apollo.backplane.com on Tue, Apr 04, 2000 at 07:33:43PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Matthew Dillon [000404 19:59] wrote: > :> > :> I'll look at that tonight. But before I do -- why is it broken? > :> (the name sorta implies that it us ;) > : > :I'm not sure, i did it a while back and ran out of time to get it > :working, it functions in the strategy layer and tries to grab adjacent > :commit blocks to the already clustered IO. > : > :I think I may have some math errors or something, I haven't had time > :to give it a retry in a while. > : > :-- > :-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] > :"I have the heart of a child; I keep it in a jar on my desk." > > If I remember the right patch, I think my comment on it was > that the buffers should use non-blocking locks rather then > blocking locks in order to avoid deadlocks, which it looks like > you did. > > This may still patch into -stable but it probably isn't safe > to patch into -current. It still looks a little rough but > the general concept is sound. There's some definite funkyness with the patch, it just doesn't DTRT. When I have time I'll try again, perhaps Andrew will give it a shot. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message