]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/SnapMapper: reset iterators at finish of run()
authorSage Weil <sage@redhat.com>
Tue, 9 Jul 2019 17:03:35 +0000 (12:03 -0500)
committerSage Weil <sage@redhat.com>
Tue, 9 Jul 2019 17:03:35 +0000 (12:03 -0500)
commitf7607512fee4967e027337159cbd81d7bea86385
tree8eb9a6923c8198bccfa493cdbd098251a1279b24
parent238e740eb825da842df89fe99a8d321725997a01
osd/SnapMapper: reset iterators at finish of run()

These iterators implicitly hold locks in FileStore, which can lead to a
deadlock if they are still alive and the caller tries to take new locks.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/SnapMapper.cc