From: Stephen Rothwell Subject: Re: file leases Date: Tue, 21 Sep 2004 13:21:52 +1000 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20040921132152.7f6a54af.sfr@canb.auug.org.au> References: <20040920202733.GF28786@mail.shareable.org> <20040920203430.6D5761BBA3@citi.umich.edu> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Tue__21_Sep_2004_13_21_52_+1000_UQQzZlmaGu_SQDXP" Cc: jamie@shareable.org, andros@citi.umich.edu, linux-fsdevel@vger.kernel.org Return-path: Received: from chilli.pcug.org.au ([203.10.76.44]:51374 "EHLO smtps.tip.net.au") by vger.kernel.org with ESMTP id S267487AbUIUDWB (ORCPT ); Mon, 20 Sep 2004 23:22:01 -0400 To: "William A.(Andy) Adamson" In-Reply-To: <20040920203430.6D5761BBA3@citi.umich.edu> List-Id: linux-fsdevel.vger.kernel.org --Signature=_Tue__21_Sep_2004_13_21_52_+1000_UQQzZlmaGu_SQDXP Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Mon, 20 Sep 2004 16:34:30 -0400 "William A.(Andy) Adamson" wrote: > > > When I share a directory using Samba 3.0.6, sometimes local access to > > a file stalls for a while - on the order of 10 seconds to open a file. > > if your open() is blocking (did not specify O_NONBLOCK) then break_lease will > contact all other processes (samba clients) one at a time, and will not return > until all have been contacted. this could take a while. And, of course, the samba servers may have to contact their clients and get them to release their oplocks ... -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ --Signature=_Tue__21_Sep_2004_13_21_52_+1000_UQQzZlmaGu_SQDXP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBT55Q4CJfqux9a+8RAvrRAKCLwPeffYhvjcwLL19sMVh6JiINKACgk2lW 2BYgsezxxc4Tx6NiR+Eu95g= =9iE/ -----END PGP SIGNATURE----- --Signature=_Tue__21_Sep_2004_13_21_52_+1000_UQQzZlmaGu_SQDXP--