From owner-cvs-src@FreeBSD.ORG Mon Dec 6 19:18:27 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A24416A4D0; Mon, 6 Dec 2004 19:18:27 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2266C43D68; Mon, 6 Dec 2004 19:18:27 +0000 (GMT) (envelope-from ps@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iB6JI0jg001330; Mon, 6 Dec 2004 19:18:00 GMT (envelope-from ps@repoman.freebsd.org) Received: (from ps@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iB6JI0c3001329; Mon, 6 Dec 2004 19:18:00 GMT (envelope-from ps) Message-Id: <200412061918.iB6JI0c3001329@repoman.freebsd.org> From: Paul Saab Date: Mon, 6 Dec 2004 19:18:00 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/nfs4client nfs4_vn_subs.c nfs4_vnops.c src/sys/nfsclient nfs_bio.c nfs_subs.c nfs_vnops.c nfsnode.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2004 19:18:27 -0000 ps 2004-12-06 19:18:00 UTC FreeBSD src repository Modified files: sys/nfs4client nfs4_vn_subs.c nfs4_vnops.c sys/nfsclient nfs_bio.c nfs_subs.c nfs_vnops.c nfsnode.h Log: 2 fixes that improve on the consistency of the NFS client cache. - Change the cached mtime to a 'struct timespec' from a time_t. Improving the precision of the cached mtime tightens up NFS' "close-to-open" consistency considerably. - Always force an over-the-wire consistency check from nfs_open() (unless the file is marked modified). This further improves NFS' "close-to-open" consistency. Submitted by: Mohan Srinivasan mohans at yahoo-inc dot com Revision Changes Path 1.3 +2 -2 src/sys/nfs4client/nfs4_vn_subs.c 1.18 +2 -2 src/sys/nfs4client/nfs4_vnops.c 1.142 +4 -4 src/sys/nfsclient/nfs_bio.c 1.137 +4 -4 src/sys/nfsclient/nfs_subs.c 1.236 +13 -8 src/sys/nfsclient/nfs_vnops.c 1.50 +3 -1 src/sys/nfsclient/nfsnode.h