From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262767AbVA1VPB (ORCPT ); Fri, 28 Jan 2005 16:15:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262792AbVA1VPB (ORCPT ); Fri, 28 Jan 2005 16:15:01 -0500 Received: from mustang.oldcity.dca.net ([216.158.38.3]:23517 "HELO mustang.oldcity.dca.net") by vger.kernel.org with SMTP id S262767AbVA1VNR (ORCPT ); Fri, 28 Jan 2005 16:13:17 -0500 Subject: Re: Real-time rw-locks (Re: [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.32-15) From: Lee Revell To: Trond Myklebust Cc: Ingo Molnar , Esben Nielsen , Rui Nuno Capela , "K.R. Foley" , Fernando Lopez-Lezcano , mark_h_johnson@raytheon.com, Amit Shah , Karsten Wiese , Bill Huey , Adam Heath , emann@mrv.com, Gunther Persoons , linux-kernel@vger.kernel.org, Florian Schmidt , Shane Shrybman , Thomas Gleixner , Michal Schmidt In-Reply-To: <1106939910.14321.37.camel@lade.trondhjem.org> References: <20041214113519.GA21790@elte.hu> <20050128073856.GA2186@elte.hu> <1106939910.14321.37.camel@lade.trondhjem.org> Content-Type: text/plain Date: Fri, 28 Jan 2005 16:13:15 -0500 Message-Id: <1106946796.3705.20.camel@krustophenia.net> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2005-01-28 at 11:18 -0800, Trond Myklebust wrote: > In the NFS client code we may use rwsems in order to protect stateful > operations against the (very infrequently used) server reboot recovery > code. The point is that when the server reboots, the server forces us to > block *all* requests that involve adding new state (e.g. opening an > NFSv4 file, or setting up a lock) while our client and others are > re-establishing their existing state on the server. Hmm, when I was an ISP sysadmin I used to use this all the time. NFS mounts from the BSD/OS clients would start to act up under heavy web server load and the cleanest way to get them to recover was to simulate a reboot on the NetApp. Of course Linux clients were unaffected, they were just along for the ride ;-) Lee