]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Client: bump ll_ref from int32 to uint64_t 29187/head
authorXiaoxi CHEN <xiaoxchen@ebay.com>
Fri, 19 Jul 2019 15:31:24 +0000 (08:31 -0700)
committerXiaoxi CHEN <xiaoxchen@ebay.com>
Tue, 23 Jul 2019 02:37:19 +0000 (19:37 -0700)
commit21f41c8df058d07ce196902d90b150f6a6347abc
tree0014419e128025c8f767c21af23a7e4eff8bc3d9
parentc1cd465c4f7a185c193fc8999a74b9ff428ac254
Client: bump ll_ref from int32 to uint64_t

ll_ref can surge up if application repeatly lookup same dentry
and finally cause overflow.

https://tracker.ceph.com/issues/40775 is an example.

in kernel fuse driver and libfuse, uint64_t is used, update
ceph-fuse side to match.

Fixes: https://tracker.ceph.com/issues/40775
Signed-off-by: Xiaoxi CHEN <xiaoxchen@ebay.com>
(cherry picked from commit bb46de885336a8cd2adc9c0507e543c6832346e7)

 Conflicts:
src/client/Client.h
        use new code, skip all non-toched changes.
src/client/Inode.h
        use new code.
src/client/Client.cc
src/client/Client.h
src/client/Inode.h