]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: switch to session's reference instead of constructing a new object 53981/head
authorXiubo Li <xiubli@redhat.com>
Wed, 1 Nov 2023 06:59:30 +0000 (14:59 +0800)
committerXiubo Li <xiubli@redhat.com>
Wed, 1 Nov 2023 08:07:34 +0000 (16:07 +0800)
commit589e6a42ca279c012627cfe4c66aa4af6c7c8e82
tree163b38ace44f3ccd0010c5f3bd744101b3e56bd8
parentd8ad69c38a470f05b1c68e9f0e6e503589599b9c
client: switch to session's reference instead of constructing a new object

This is for pacific only, because in higher version we have switched
the mds_sessions map to a shared_ptr.

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