]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: unlock client_lock when copying data to bufferlist
authorXiubo Li <xiubli@redhat.com>
Wed, 23 Sep 2020 01:06:05 +0000 (09:06 +0800)
committerXiubo Li <xiubli@redhat.com>
Fri, 25 Sep 2020 00:52:49 +0000 (08:52 +0800)
commit9d0e88c3ffbec01abffea6ac14f6d27b8a8c1556
tree77cfc83449836365f3f2fc22a15b14e29f074ddf
parentf483407b87d82e46a16bf54a7188161a71b561d1
client: unlock client_lock when copying data to bufferlist

It's no need to hold the lock when copying the data, which may
take a long time.

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