From: Trond Myklebust Subject: Re: Re: NFSv3 blocking locks broken in 2.6.7 Date: Wed, 18 Aug 2004 13:02:19 -0400 Sender: nfs-admin@lists.sourceforge.net Message-ID: <1092848539.4931.56.camel@lade.trondhjem.org> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-Oi2mU/bPO+CJqNdda83P" Cc: NFS@lists.sourceforge.net Return-path: To: Marc Eshel In-Reply-To: Errors-To: nfs-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Post: List-Help: List-Subscribe: , List-Archive: --=-Oi2mU/bPO+CJqNdda83P Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable P=E5 ty , 17/08/2004 klokka 23:38, skreiv Marc Eshel: >=20 >=20 > I just tried the latest 2.6.8 kernel and the following problem is still > there. >=20 Hmm... I suspect that what is happening is that the GRANTED callback gets screwed up due to an assumption that is made in the svcauth_unix code that everything needs to be authenticated by the "mountd" daemon. That certainly never applies to any of the client callbacks (which have to be authenticated by comparing to the list of outstanding lock RPC calls), nor does it apply to the notify() callback. Can you therefore try the following on the clients ONLY (keep the server as it stands). If that fixes the client issue, then we'll look at a more permanent fix that addresses both client and server concerns by moving the mountd upcall into the nfsd code where it belongs. Cheers, Trond --=-Oi2mU/bPO+CJqNdda83P Content-Description: Content-Disposition: inline; filename=gnurr.dif Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 LS0tIGxpbnV4LTIuNi44LjEtdXAvbmV0L3N1bnJwYy9zdmNhdXRoX3VuaXguYy5vcmlnCTIwMDQt MDgtMTQgMTQ6MjY6NTUuMDAwMDAwMDAwIC0wNDAwDQorKysgbGludXgtMi42LjguMS11cC9uZXQv c3VucnBjL3N2Y2F1dGhfdW5peC5jCTIwMDQtMDgtMTggMTI6MzM6NDcuMDAwMDAwMDAwIC0wNDAw DQpAQCAtMzY4LDYgKzM2OCw3IEBAIHN2Y2F1dGhfbnVsbF9hY2NlcHQo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T0s7DQorI2VuZGlmDQogDQogCS8qIFB1 dCBOVUxMIHZlcmlmaWVyICovDQogCXN2Y19wdXR1MzIocmVzdiwgUlBDX0FVVEhfTlVMTCk7DQo= --=-Oi2mU/bPO+CJqNdda83P-- ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs