Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2013 19:08:59 +0300
From:      Sergey Kandaurov <pluknet@gmail.com>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, Rick Macklem <rmacklem@uoguelph.ca>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: panic: LK_RETRY set with incompatible flags
Message-ID:  <CAE-mSO%2B46crXpYMsu4B3dkMNmp7S70j_VvmyfxNSeJbskgS2Mw@mail.gmail.com>
In-Reply-To: <5113CB72.4080604@FreeBSD.org>
References:  <1137922035.2777364.1360203187367.JavaMail.root@erie.cs.uoguelph.ca> <5113AF89.4070303@FreeBSD.org> <CAE-mSOLTN7YMytwf-DqJjowSKWnX%2B-PC-vgJM1F=p0qnfVBYRg@mail.gmail.com> <5113CB72.4080604@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7 February 2013 19:42, Andriy Gapon <avg@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSO%2B46crXpYMsu4B3dkMNmp7S70j_VvmyfxNSeJbskgS2Mw>