NFS returns -EACCESS at the first read
Subsystems (2)
Hi,
I seem hitting a regression of NFS client on the today's Linus git tree. The symptom is that the file read over NFS returns occasionally -EACCESS at the first read. When I try to read the same file again (or do some other thing), I can read it successfully.
The git bisection leaded to the commit bd8b2441742b49c76bec707757bd9c028ea9838e
NFS: Store the raw NFS access mask in the inode's access cache
Any further hint for debugging?
thanks,
Takashi
Hi Takashi,
Quoted 7 lines · Takashi Iwai
Hi,
I seem hitting a regression of NFS client on the today's Linus git tree. The symptom is that the file read over NFS returns occasionally
-EACCESSat the first read. When I try to read the same file again (or do some other thing), I can read it successfully.
Quoted 6 lines
The git bisection leaded to the commit
bd8b2441742b49c76bec707757bd9c028ea9838e
NFS: Store the raw NFS access mask in the inode's access cacheAny further hint for debugging?
Does the patch in this email thread help? http://www.spinics.net/lists/linux-nfs/msg64930.html
Thanks,
Anna
Quoted 10 lines
thanks,
Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Takashi Iwai
Tested-byQuoted 11 lines · Anna Schumaker
Hi Takashi,
Quoted 7 lines · Takashi Iwai
Hi,
I seem hitting a regression of NFS client on the today's Linus git tree. The symptom is that the file read over NFS returns occasionally
-EACCESSat the first read. When I try to read the same file again (or do some other thing), I can read it successfully.
Quoted 8 lines
Quoted 6 lines
The git bisection leaded to the commit
bd8b2441742b49c76bec707757bd9c028ea9838e
NFS: Store the raw NFS access mask in the inode's access cacheAny further hint for debugging?
Does the patch in this email thread help? http://www.spinics.net/lists/linux-nfs/msg64930.html
Thanks, I gave it a shot and the result looks good. Feel free to my tested-by tag:
Though, when I look around the code, I feel somehow uneasy by that still MAY_XXX is used for nfs_access_entry.mask, e.g. in nfs3_proc_access() or nfs4_proc_access(). Are these function OK without the similar conversion?
thanks,
Takashi
Quoted 24 lines · Takashi Iwai
Quoted 11 lines · Anna Schumaker
Hi Takashi,
Quoted 7 lines · Takashi Iwai
Hi,
I seem hitting a regression of NFS client on the today's Linus git tree. The symptom is that the file read over NFS returns occasionally
-EACCESSat the first read. When I try to read the same file again (or do some other thing), I can read it successfully.Quoted 8 lines
Quoted 6 lines
The git bisection leaded to the commit
bd8b2441742b49c76bec707757bd9c028ea9838e
NFS: Store the raw NFS access mask in the inode's access cacheAny further hint for debugging?
Does the patch in this email thread help? http://www.spinics.net/lists/linux-nfs/msg64930.html
Thanks, I gave it a shot and the result looks good. Feel free to my tested-by tag:
Quoted 7 lines
Tested-by Takashi Iwai <[email protected]>Though, when I look around the code, I feel somehow uneasy by that still
MAY_XXXis used for nfs_access_entry.mask, e.g. innfs3_proc_access()ornfs4_proc_access(). Are these function OK without the similar conversion?
I just started looking at that at the end of the day yesterday. I think they work by accident, since all the bits in the mask are set by nfs_do_access(). They should probably be converted, but I don't think it's urgent.
Anna
Quoted 6 lines
thanks,
Takashi