* Why generic/089 fails for NFSv4
@ 2019-03-14 8:46 Yihao Wu
2019-03-15 9:06 ` Yihao Wu
0 siblings, 1 reply; 3+ messages in thread
From: Yihao Wu @ 2019-03-14 8:46 UTC (permalink / raw)
To: fstests; +Cc: Joseph Qi
Hi, all
Sorry to bother you.
lock_mtab in xfstests/src/t_mtab.c waits only for LOCK_TIMEOUT, which is 10.
After that it emits an error message. However when NFSv4 client fails to
lock a file in nfs4_retry_setlk (eg. locking conflict), it backs off for 30s
before retrying. So generic/089 frequently fails for NFSv4.
I'm wondering if there's a workaround to this problem. My kernel version is
4.19.24
Thanks,
Yihao Wu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Why generic/089 fails for NFSv4
2019-03-14 8:46 Why generic/089 fails for NFSv4 Yihao Wu
@ 2019-03-15 9:06 ` Yihao Wu
2019-03-15 10:05 ` Su Yanjun <suyj.fnst@cn.fujitsu.com>
0 siblings, 1 reply; 3+ messages in thread
From: Yihao Wu @ 2019-03-15 9:06 UTC (permalink / raw)
To: fstests; +Cc: Joseph Qi, linux-nfs
On 2019/3/14 4:46 PM, Yihao Wu wrote:
> Hi, all
>
> Sorry to bother you.
>
> lock_mtab in xfstests/src/t_mtab.c waits only for LOCK_TIMEOUT, which is 10.
> After that it emits an error message. However when NFSv4 client fails to
> lock a file in nfs4_retry_setlk (eg. locking conflict), it backs off for 30s
> before retrying. So generic/089 frequently fails for NFSv4.
>
> I'm wondering if there's a workaround to this problem. My kernel version is
> 4.19.24
>
> Thanks,
> Yihao Wu
>
cc nfs list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Why generic/089 fails for NFSv4
2019-03-15 9:06 ` Yihao Wu
@ 2019-03-15 10:05 ` Su Yanjun <suyj.fnst@cn.fujitsu.com>
0 siblings, 0 replies; 3+ messages in thread
From: Su Yanjun <suyj.fnst@cn.fujitsu.com> @ 2019-03-15 10:05 UTC (permalink / raw)
To: Yihao Wu, fstests; +Cc: Joseph Qi, linux-nfs
On 2019/3/15 17:06, Yihao Wu wrote:
> On 2019/3/14 4:46 PM, Yihao Wu wrote:
>> Hi, all
>>
>> Sorry to bother you.
>>
>> lock_mtab in xfstests/src/t_mtab.c waits only for LOCK_TIMEOUT, which is 10.
>> After that it emits an error message. However when NFSv4 client fails to
>> lock a file in nfs4_retry_setlk (eg. locking conflict), it backs off for 30s
>> before retrying. So generic/089 frequently fails for NFSv4.
>>
>> I'm wondering if there's a workaround to this problem. My kernel version is
>> 4.19.24
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/fs/nfs?h=v4.20&id=a61246c96195fc5f7500f6842e883b9eb1567d8d
Maybe this patch can help u.
Thanks
Su
>> Thanks,
>> Yihao Wu
>>
> cc nfs list
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-03-15 10:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-14 8:46 Why generic/089 fails for NFSv4 Yihao Wu
2019-03-15 9:06 ` Yihao Wu
2019-03-15 10:05 ` Su Yanjun <suyj.fnst@cn.fujitsu.com>
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox