]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: defer encoding and storing the inode backtrace 36912/head
authorXiubo Li <xiubli@redhat.com>
Wed, 2 Sep 2020 04:25:20 +0000 (00:25 -0400)
committerXiubo Li <xiubli@redhat.com>
Thu, 24 Sep 2020 08:53:18 +0000 (16:53 +0800)
commitf5a457b4f21e114f47e04ae0329cc47361827275
treef9c7106f47ac11e97e5fce0e9de8aea0044f2273
parent0ec5f3a84aa29ec422e920fb5dc989ed90897e6b
mds: defer encoding and storing the inode backtrace

When encoding the inode backtrace, it may take a bit longer time.
If we hold the mds_lock or other locks, it may cause other threads
to idle wait.

This will queue the encoding and storing work in the mds finisher
to get rid of the locks holded.

Fixes: https://tracker.ceph.com/issues/47148
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/mds/CInode.cc
src/mds/CInode.h
src/mds/journal.cc