]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: don't set objectmap invalid when load objectmap timed out
authorsongweibin <song.weibin@zte.com.cn>
Thu, 19 Mar 2020 12:51:59 +0000 (20:51 +0800)
committerJason Dillaman <dillaman@redhat.com>
Mon, 20 Jul 2020 22:36:57 +0000 (18:36 -0400)
commit83d986988b03419a8035ae7fb86569b0e0cbeb8b
tree6ee492088f9f50e820eb365150320f3734b79249
parent31f49d3841112f46a52d07f5405180d326ff19af
librbd: don't set objectmap invalid when load objectmap timed out

Add a new configuration option of `rbd_invalidate_object_map_on_timeout`,
if disabled and timed out to open/update object map, donot invalidating
object map and return -ETIMEDOUT to APP.

Signed-off-by: songweibin <song.weibin@zte.com.cn>
src/common/options.cc
src/librbd/object_map/RefreshRequest.cc
src/librbd/object_map/Request.cc
src/librbd/object_map/Request.h