]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: fixup parallel calls to ceph_ll_lookup_inode() in NFS FASL 19957/head
authorhuanwen ren <ren.huanwen@zte.com.cn>
Tue, 16 Jan 2018 06:18:46 +0000 (14:18 +0800)
committerhuanwen ren <ren.huanwen@zte.com.cn>
Fri, 9 Feb 2018 05:34:56 +0000 (13:34 +0800)
commitb1248273d67d32eaba35cadf0f6f02942f9da81f
tree4629afaa6a93df9478577b5195ec0c6abf43182d
parent164ed9399e247a901f8fbd5ed1e8cb0a34aa42c4
client: fixup parallel calls to ceph_ll_lookup_inode() in NFS FASL

fixup parallel calls to ceph_ll_lookup_inode() in NFS FASL,
Because the original fuction does not have a global Lock to
ensure the atomicity of the lookup inode process,It eventually
caused an exception when the NFS-Ganesha FSAL module called
this interface in parallel,see the Bug report.

Fixes: http://tracker.ceph.com/issues/22683
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
src/client/Client.cc
src/client/Client.h
src/libcephfs.cc