From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 19 06:00:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 73B5AADE for ; Fri, 19 Apr 2013 06:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 41EFCA0F for ; Fri, 19 Apr 2013 06:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3J601eO045727 for ; Fri, 19 Apr 2013 06:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3J601rm045726; Fri, 19 Apr 2013 06:00:01 GMT (envelope-from gnats) Resent-Date: Fri, 19 Apr 2013 06:00:01 GMT Resent-Message-Id: <201304190600.r3J601rm045726@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Mihai M." Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 95A7DA7B for ; Fri, 19 Apr 2013 05:54:44 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 8780F9E8 for ; Fri, 19 Apr 2013 05:54:44 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r3J5sfuS058584 for ; Fri, 19 Apr 2013 05:54:42 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r3J5sfIp058583; Fri, 19 Apr 2013 05:54:41 GMT (envelope-from nobody) Message-Id: <201304190554.r3J5sfIp058583@red.freebsd.org> Date: Fri, 19 Apr 2013 05:54:41 GMT From: "Mihai M." To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/177971: FreeBSD 9.1 nfs client dirlist problem w/ nfsv3, rsize=4096, wsize=4096 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Apr 2013 06:00:01 -0000 >Number: 177971 >Category: kern >Synopsis: FreeBSD 9.1 nfs client dirlist problem w/ nfsv3,rsize=4096,wsize=4096 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 19 06:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Mihai M. >Release: 9.1-RELEASE >Organization: >Environment: FreeBSD cronus.delajii 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: 9.1-RELEASE nfs client seems to have a problem with dir read (listing) when the system is mounted with nfsv3,rsize=4096,wsize=4096 or nfsv3,rsize=2049,wsize=2048 (may be others sizes too). Some of the file names are missing from the result and others are duplicated. Tried with 7.2-STABLE FreeBSD and Linux 2.6.32.12 as server, same result. The nfs_bug.py works ok under FreeBSD 8.2. >How-To-Repeat: mount -o nfsv3,rsize=4096,wsize=4096 server:/export /mnt Run the python nfs_bug.py program from http://www.delajii.net/mmWiKi/_media/docs:code:nfs_bug.py >Fix: Mounting the nfs dir with defaults does not show the problem. Changing to nfsv2 or other rsize/wsize combinations seem to be ok (i.e. rsize=8192,wsize=8192 looks ok for now). >Release-Note: >Audit-Trail: >Unformatted: