Searched hist:"2336745 e87a646a3dc9570f082b85df519ee523e" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/nfsd/ |
H A D | nfsfh.h | diff 2336745e87a646a3dc9570f082b85df519ee523e Fri Mar 28 21:23:47 CDT 2014 Kinglong Mee <kinglongmee@gmail.com> NFSD: Clear wcc data between compound ops
Testing NFS4.0 by pynfs, I got some messeages as, "nfsd: inode locked twice during operation."
When one compound RPC contains two or more ops that locks the filehandle,the second op will cause the message.
As two SETATTR ops, after the first SETATTR, nfsd will not call fh_put() to release current filehandle, it means filehandle have unlocked with fh_post_saved = 1. The second SETATTR find fh_post_saved = 1, and printk the message.
v2: introduce helper fh_clear_wcc().
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
|
H A D | nfs4proc.c | diff 2336745e87a646a3dc9570f082b85df519ee523e Fri Mar 28 21:23:47 CDT 2014 Kinglong Mee <kinglongmee@gmail.com> NFSD: Clear wcc data between compound ops
Testing NFS4.0 by pynfs, I got some messeages as, "nfsd: inode locked twice during operation."
When one compound RPC contains two or more ops that locks the filehandle,the second op will cause the message.
As two SETATTR ops, after the first SETATTR, nfsd will not call fh_put() to release current filehandle, it means filehandle have unlocked with fh_post_saved = 1. The second SETATTR find fh_post_saved = 1, and printk the message.
v2: introduce helper fh_clear_wcc().
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
|