From owner-freebsd-fs Wed Jul 24 16:14:30 2002 Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 954E437B400 for ; Wed, 24 Jul 2002 16:14:28 -0700 (PDT) Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4008743E4A for ; Wed, 24 Jul 2002 16:14:28 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0419.cvx22-bradley.dialup.earthlink.net ([209.179.199.164] helo=mindspring.com) by scaup.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17XVKq-0000dn-00; Wed, 24 Jul 2002 16:14:25 -0700 Message-ID: <3D3F34A1.5BD85141@mindspring.com> Date: Wed, 24 Jul 2002 16:13:37 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Bruce Evans Cc: Alfred Perlstein , fs@FreeBSD.ORG Subject: Re: rename hardlinks "works" on FreeBSD, but no-op on others References: <20020724234432.P33567-100000@gamplex.bde.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Bruce Evans wrote: > NFSv4 is fairly convincing. I'll clean up my patch and commit something > later this week. No, it's not. The *single* most important comment I made on 4 occasions was ignored. Section 2.2: ... An adjunct time maintenance protocol is recommended to reduce client and server time skew. ... 8.12. Clocks and Calculating Lease Expiration ... To avoid the need for synchronized clocks, lease times are granted by the server as a time delta. However, there is a requirement that the client and server clocks do not drift excessively over the duration of the lock. Jackasses. All they had to do was include the localtime on any request whose response could include a timestamp, and then send deltas instead of absolutes over the wire in all responses: LET local time since epoch RET remote time since epoch LFT local file time RFT remote filetime delta = LET - RET + LFT RFT = RET + delta And then all of the time synchronization requirements between nodes totally disappear. The assinine synchronization requirement was *the biggest issue* for NFSv2, remained *the biggest issue* for NFSv3, and they happily carried the albatross on their necks into the future with them, so they didn't have to disturb their "NFSv4 implementations" that they made before the standard was even a gleam in most people's eyes. And don't even get me started on character set normalization... Grrrr. 8-(. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message