]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: potential deadlock in PG::_scan_snaps when repairing snap mapper 24833/head
authorMykola Golub <mgolub@suse.com>
Tue, 30 Oct 2018 08:36:58 +0000 (10:36 +0200)
committerMykola Golub <mgolub@suse.com>
Sun, 11 Nov 2018 07:38:03 +0000 (09:38 +0200)
commitb9ec776dffb43587217ed708742ae3c24c847208
treea3b6ae542e19ecc36bef1b5530febf9ff0b1640d
parent1ae4191a771fffb4259b3a59b7685984844668e6
osd: potential deadlock in PG::_scan_snaps when repairing snap mapper

Using apply_transaction when holding the pg lock is not safe.

It was fixed in master (mimic) during os, osd refactoring, and this
commit is a partial backport of 907b6281e99ece3677dd7b012cf4955731db6120.

Fixes: http://tracker.ceph.com/issues/36630
Signed-off-by: Mykola Golub <mgolub@suse.com>
src/osd/PG.cc