]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: fixup parallel calls to ceph_ll_lookup_inode() in NFS FASL 23012/head
authorhuanwen ren <ren.huanwen@zte.com.cn>
Tue, 16 Jan 2018 06:18:46 +0000 (14:18 +0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 12 Jul 2018 19:22:26 +0000 (12:22 -0700)
commitf57530dbbb1a9925b782296c27b85387a580dbf4
tree424cb3551fa3d781a2b879b171bfe605703c060f
parent488df8a1076c4f5fc5b8d18a90463262c438740f
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>
(cherry picked from commit b1248273d67d32eaba35cadf0f6f02942f9da81f)

Conflicts:
src/client/Client.cc
src/libcephfs.cc
src/client/Client.cc
src/client/Client.h
src/libcephfs.cc