From owner-freebsd-current@FreeBSD.ORG Thu Feb 7 15:42:48 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6E06B73E for ; Thu, 7 Feb 2013 15:42:48 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 9AE6F910 for ; Thu, 7 Feb 2013 15:42:46 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA00638; Thu, 07 Feb 2013 17:42:43 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <5113CB72.4080604@FreeBSD.org> Date: Thu, 07 Feb 2013 17:42:42 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130206 Thunderbird/17.0.2 MIME-Version: 1.0 To: Sergey Kandaurov Subject: Re: panic: LK_RETRY set with incompatible flags References: <1137922035.2777364.1360203187367.JavaMail.root@erie.cs.uoguelph.ca> <5113AF89.4070303@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Konstantin Belousov , Rick Macklem , FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2013 15:42:48 -0000 on 07/02/2013 17:36 Sergey Kandaurov said the following: > I tested the patch without the (*vpp != dvp) change. > It works well. > > It's something unrelated but when doing ls -l > on server (patched) and client (unpatched) sides, > I found some inconsistency in returned stats. > Or more precisely: > > NFS server > # stat -s /pool1/user1000/.zfs/shares/.. > st_dev=2050684725 st_ino=1 st_mode=040555 st_nlink=4 st_uid=0 st_gid=0 > st_rdev=0 st_size=4 st_atime=1360251211 st_mtime=1359551493 > st_ctime=1359551493 st_birthtime=1359551493 st_blksize=4096 > st_blocks=0 st_flags=0 > > NFS client > # stat -s /home/user1000/.zfs/shares/.. > st_dev=2050684725 st_ino=7 st_mode=040555 st_nlink=2 st_uid=0 st_gid=0 > st_rdev=1377468712 st_size=2 st_atime=1360251104 st_mtime=1359551493 > st_ctime=1359551493 st_birthtime=-1 st_blksize=4096 st_blocks=3 > st_flags=0 Hmm, this looks more consistent with the earlier patch. Are you sure that you really tested the new kernel (on the server)? -- Andriy Gapon