]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: fix snap create/rm may taking long time 20153/head
authorSong Shun <song.shun3@zte.com.cn>
Wed, 17 Jan 2018 01:32:45 +0000 (09:32 +0800)
committerPrashant D <pdhange@redhat.com>
Mon, 29 Jan 2018 02:45:55 +0000 (21:45 -0500)
commitcfd05be6ace8fb3145068c464bc0a73d487836a1
tree3884624e94630331cc16901c19dcccc37567cfce
parente50835f80c63563a419ae47b05f72885e61e528e
librbd: fix snap create/rm may taking long time

  fix snap create/rm may taking long time
  http://tracker.ceph.com/issues/22716

Signed-off-by: Song Shun <song.shun3@zte.com.cn>
(cherry picked from commit d04ed348a1b20e5ea5bedada2462cb41f0f1d85a)

Conflicts:
test_mock_SnapshotRemoveRequest.cc: define om as a ObjectMap<ImageCtx> obj
src/cls/rbd/cls_rbd.cc
src/librbd/ObjectMap.cc
src/librbd/ObjectMap.h
src/librbd/object_map/SnapshotCreateRequest.cc
src/librbd/object_map/SnapshotRemoveRequest.cc
src/test/librbd/object_map/test_mock_SnapshotRemoveRequest.cc
src/test/librbd/test_fixture.cc
src/test/librbd/test_fixture.h