From owner-freebsd-current@FreeBSD.ORG Thu Feb 7 16:09:01 2013 Return-Path: Delivered-To: freebsd-current@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 56AA3DFC; Thu, 7 Feb 2013 16:09:01 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by mx1.freebsd.org (Postfix) with ESMTP id 9F857A44; Thu, 7 Feb 2013 16:09:00 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id 8so2119781wgl.18 for ; Thu, 07 Feb 2013 08:08:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=8aZdXzSPkMiQ1eZw7e9KqhkB9MMxrIcyrvU5oreGeYI=; b=sLmMkpljAKI19wwL1MJm4t8a0nUXKoCKgd1GAYmVViKWX71Tg/oJub0wVTOHWZtWxp 7YPilyDLBikVdnCy31mJsC7LC/FSqNI1ixO3zHLq/GZso0SYRRjf/bNJB98RcFKmTqVr QFTL+YKGOio+xR86KrdUNeU1RTR+KcRneY1F0PzXD6FR+tO1GR/drQf/uNJKJeDlkmm0 5BwHTsxc3A7DymoZOxGTXfYd49UgNtXW7qa1fX6eTlnDMDoUxgr08Y3kmnp/9tcxW3s4 zWzsjsGZhn8OucCdhXSLdlJC8vUPT1URFgrsNu5cUcdstyaxlTehLmA9vqbIDTqZvfv6 o2EQ== MIME-Version: 1.0 X-Received: by 10.180.90.106 with SMTP id bv10mr3909894wib.12.1360253339497; Thu, 07 Feb 2013 08:08:59 -0800 (PST) Received: by 10.195.12.163 with HTTP; Thu, 7 Feb 2013 08:08:59 -0800 (PST) In-Reply-To: <5113CB72.4080604@FreeBSD.org> References: <1137922035.2777364.1360203187367.JavaMail.root@erie.cs.uoguelph.ca> <5113AF89.4070303@FreeBSD.org> <5113CB72.4080604@FreeBSD.org> Date: Thu, 7 Feb 2013 19:08:59 +0300 Message-ID: Subject: Re: panic: LK_RETRY set with incompatible flags From: Sergey Kandaurov To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 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 16:09:01 -0000 On 7 February 2013 19:42, Andriy Gapon wrote: > 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)? Sorry, I indeed booted a wrong kernel. Now tested the really new kernel :) And it works as well. stat -s looks consistent, thanks. # stat -s /home/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=1360252962 st_mtime=1359551493 st_ctime=1359551493 st_birthtime=-1 st_blksize=4096 st_blocks=0 st_flags=0 -- wbr, pluknet