From owner-cvs-src-old@FreeBSD.ORG Fri Dec 24 18:46:52 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F47910657C5 for ; Fri, 24 Dec 2010 18:46:52 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 682618FC14 for ; Fri, 24 Dec 2010 18:46:52 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oBOIkqTC062405 for ; Fri, 24 Dec 2010 18:46:52 GMT (envelope-from rmacklem@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oBOIkqA7062404 for cvs-src-old@freebsd.org; Fri, 24 Dec 2010 18:46:52 GMT (envelope-from rmacklem@repoman.freebsd.org) Message-Id: <201012241846.oBOIkqA7062404@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rmacklem@repoman.freebsd.org using -f From: Rick Macklem Date: Fri, 24 Dec 2010 18:46:44 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/fs/nfsserver nfs_nfsdport.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Dec 2010 18:46:52 -0000 rmacklem 2010-12-24 18:46:44 UTC FreeBSD src repository Modified files: sys/fs/nfsserver nfs_nfsdport.c Log: SVN rev 216691 on 2010-12-24 18:46:44Z by rmacklem Since VOP_READDIR() for ZFS does not return monotonically increasing directory offset cookies, disable the UFS related loop that skips over directory entries at the beginning of the block for the experimental NFS server. This loop is required for UFS since it always returns directory entries starting at the beginning of the block that the requested directory offset is in. In discussion with pjd@ and mckusick@ it seems that this behaviour of UFS should maybe change, with this fix being an interim patch until then. This patch only fixes the experimental server, since pjd@ is working on a patch for the regular server. Discussed with: pjd, mckusick MFC after: 5 days Revision Changes Path 1.28 +10 -2 src/sys/fs/nfsserver/nfs_nfsdport.c