]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: avoid recursive lock in timer 7958/head
authorMykola Golub <mgolub@mirantis.com>
Mon, 7 Mar 2016 11:14:15 +0000 (13:14 +0200)
committerMykola Golub <mgolub@mirantis.com>
Mon, 7 Mar 2016 13:05:18 +0000 (15:05 +0200)
commitf7eb860d488c832ca664996b52feefb8dbe4cd00
treec8e9665f7cd876ee1356dca415f4e858949fd87f
parent303e2c989a5a5a052fc08f8fe7dc4d371e92033b
rbd-mirror: avoid recursive lock in timer

m_lock is used both by m_timer and refresh_images(), which is
scheduled by the timer, so run it with `safe_callbacks = false`.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
src/tools/rbd_mirror/PoolWatcher.cc