]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: make Inode to inherit from RefCountedObject 41052/head
authorXiubo Li <xiubli@redhat.com>
Mon, 1 Mar 2021 02:05:05 +0000 (10:05 +0800)
committerXiubo Li <xiubli@redhat.com>
Wed, 28 Apr 2021 02:48:59 +0000 (10:48 +0800)
commita03827a8276687db335f4535470df9c043c81f74
tree93a6f730375ce66dde26f11e004d41182a5f7f90
parente7953e9126fb7fee5ddb56ed5d0dd3ec4f22b97c
client: make Inode to inherit from RefCountedObject

This is also mainly one preparation for the inode lock feature, the
InodeRef is useful in the case during the client_lock's unlock/lock
gap, to make sure the Inode is not released.

Fixes: https://tracker.ceph.com/issues/49536
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/client/Client.cc
src/client/Client.h
src/client/Inode.cc
src/client/Inode.h