Re: Why generic/089 fails for NFSv4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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







[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux