]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: protect recovery_wq ops with the recovery lock
authorGreg Farnum <gregory.farnum@dreamhost.com>
Fri, 27 May 2011 19:55:22 +0000 (12:55 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Mon, 30 May 2011 19:37:42 +0000 (12:37 -0700)
commit5b7c8ae8bdc26e7593323c76527cb37912b9d833
tree15c6c14a52cc5a1c9c9924562f1e7ad402a200d3
parent57ea502045dabcad9a708b8e76b3ebd47062b373
osd: protect recovery_wq ops with the recovery lock

We were calling recovery_item.remove_myself() without holding the
recoveryWQ::lock. Naughty naughty!

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/osd/OSD.cc
src/osd/PG.h