]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/seastore: fix reactor stalled and rbd_open failed 41940/head
authorchunmei-liu <chunmei.liu@intel.com>
Mon, 21 Jun 2021 21:52:54 +0000 (14:52 -0700)
committerchunmei-liu <chunmei.liu@intel.com>
Tue, 22 Jun 2021 20:47:26 +0000 (13:47 -0700)
commite3cd403737177ce20699f692da5ad3f35fedb1b8
tree23216073acffc0f1aa727ae15642d4c7f48030a7
parenta7af60243ffd320e8d2d799e38dc685aa7fdde04
crimson/seastore: fix reactor stalled and rbd_open failed

omap manger use keys' reference, so the keys' string set should
be kept alive during omap operation. use value capture instead of
reference capture.

otherwise, during omap operation, the keys contents will be changed
and cause logger insert_iterator very long time to stall reactor.
omap_get_value also failed, rbd_open failed.

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
src/crimson/os/seastore/seastore.cc