From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [Patch 4/7] tabled: retry conflicting locks Date: Wed, 03 Feb 2010 18:10:37 -0500 Message-ID: <4B6A026D.1020202@garzik.org> References: <20100114211312.2df3d349@redhat.com> <4B575F2D.3070403@garzik.org> <20100120131635.64346caa@redhat.com> <4B577D0D.4040908@garzik.org> <20100120155645.3efb78fe@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=9+il3KJG5njXKl/S0WoOXTrLUzYb3SR71U7/s78aSY8=; b=AZZWguC74xxZCeO4O5jFNS7mWY/+ceRDT0kRdHEObtdD8uePuriNJuSgCZ+8mJA1yO b/AJ9SyXglFw5aQQl3prs1miCUm/NHvd7+jqVB753ngR4QU506hfuvpmLNJPYWH8pS7u lp288knvfFdxKc7NkonR1Fdix+psYTZoUYzX0= In-Reply-To: <20100120155645.3efb78fe@redhat.com> Sender: hail-devel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Pete Zaitcev Cc: Project Hail List On 01/20/2010 05:56 PM, Pete Zaitcev wrote: > Is there a way to cancel an outstanding lock request? How? You seem > to think that there's no problem. > > Actually I think an cmo_close on a handle that has outstanding > requests of any kind should drop them, so I was incorrect about > killing the session being the only way. Maybe I can create some > kind of ncld_open_locked() by using that feature. That ought to > be good enough. CLOSE always removes outstanding locks, FWIW... always has. Jeff