Re: FS-Cache: Duplicate cookie detected

2019-03-31 Thread Christian Kujau
Hi David, On Tue, 12 Mar 2019, David Howells wrote: > > My /usr/local/src mount was mounted with vers=4.2 (default), while > > nfstest_cache was mounting its test-mount with vers=4.1! Apart from the > > different rsize/wsize values, the version number stood out. And indeed, > > when I mount my

Re: FS-Cache: Duplicate cookie detected

2019-03-12 Thread David Howells
Christian Kujau wrote: > My /usr/local/src mount was mounted with vers=4.2 (default), while > nfstest_cache was mounting its test-mount with vers=4.1! Apart from the > different rsize/wsize values, the version number stood out. And indeed, > when I mount my regular NFS mount /usr/local/src

Re: FS-Cache: Duplicate cookie detected

2019-03-12 Thread Christian Kujau
On Mon, 11 Mar 2019, David Howells wrote: > I've a couple more patches for you - one a bugfix and one that will print more > information. They don't actually affect the problem you're seeing. I'll post > them as replies to this message. Thanks for the patches. I've applied all three to v5.0 and

Re: FS-Cache: Duplicate cookie detected

2019-03-11 Thread David Howells
Hi Christian, I've a couple more patches for you - one a bugfix and one that will print more information. They don't actually affect the problem you're seeing. I'll post them as replies to this message. David

Re: FS-Cache: Duplicate cookie detected

2019-03-08 Thread Christian Kujau
On Fri, 8 Mar 2019, Christian Kujau wrote: > Running Linux v5.0 with this patch applied does indeed still produce the > "Duplicate cookie detected" messages, but I only ever see wrq=0 when > running nfstest_cache: > >https://paste.fedoraproject.org/paste/dkav0FQzYZxE9-V7GphjAQ And again

Re: FS-Cache: Duplicate cookie detected

2019-03-08 Thread Christian Kujau
On Fri, 8 Mar 2019, David Howells wrote: > See the attached for a patch that helps with certain kinds of collision, > though I can't see that it should help with what you're seeing since the > RELINQUISHED flag isn't set on the old cookie (fl=222, but 0x10 isn't in > there). You can monitor the

Re: FS-Cache: Duplicate cookie detected

2019-03-08 Thread Christian Kujau
On Fri, 8 Mar 2019, David Howells wrote: > > $ mount | grep nfs4 > > nfs:/usr/local/src on /usr/local/src type nfs4 > > (ro,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.56.139,local_lock=none,addr=192.168.0.115) > > > >

Re: FS-Cache: Duplicate cookie detected

2019-03-08 Thread David Howells
d into the kernel log: FS-Cache: Duplicate cookie detected FS-Cache: O-cookie c=db33ad59 [p=4bc53500 fl=218 nc=0 na=0] FS-Cache: O-cookie d= (null) n= (null) FS-Cache: O-cookie o=6cf6db4f

Re: FS-Cache: Duplicate cookie detected

2019-03-06 Thread Christian Kujau
st ([0], and there's a Fedora package too) via "nfstest_cache --server $SERVER --client `hostname`", which then produces a couple of these messages: FS-Cache: Duplicate cookie detected FS-Cache: O-cookie c=2fcc866b [p=c10c6e18 fl=222 nc=0 na=1] FS-Cache: O-cookie d=00

Re: FS-Cache: Duplicate cookie detected

2019-03-06 Thread David Howells
David Howells wrote: > > FS-Cache: Duplicate cookie detected > > FS-Cache: O-cookie c=9da9dbf0 [p=1593f904 fl=222 nc=0 na=1] > > FS-Cache: O-cookie d=287febd9 n=980c9e8a > > FS-Cache: O-key=[8] '020001bdc0a80064' > > FS-Cache:

Re: FS-Cache: Duplicate cookie detected

2019-03-06 Thread David Howells
Christian Kujau wrote: > FS-Cache: Duplicate cookie detected > FS-Cache: O-cookie c=9da9dbf0 [p=1593f904 fl=222 nc=0 na=1] > FS-Cache: O-cookie d=287febd9 n=980c9e8a > FS-Cache: O-key=[8] '020001bdc0a80064' > FS-Cache: N-cookie c=

FS-Cache: Duplicate cookie detected

2019-03-05 Thread Christian Kujau
d I too am wondering if this is something to worry about. They _are_ logged with pr_err in fs/fscache/cookie.c, but maybe this needs to be changed to a different loglevel? Thanks, Christian. FS-Cache: Duplicate cookie detected FS-Cache: O-cookie c=9da9dbf0 [p=1593f904 fl=222 nc=0 na=1]