]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSD: clean up revcovery_wq queueing and ref counting
authorSamuel Just <sam.just@inktank.com>
Tue, 3 Jul 2012 15:53:54 +0000 (08:53 -0700)
committerSamuel Just <sam.just@inktank.com>
Fri, 6 Jul 2012 00:18:51 +0000 (17:18 -0700)
commit868168a5fb5ccc7af62a3edca118c7f84a4aa32e
treef94f1fd702fa49d4383109b2d4b58346a3b4daa9
parent7e26d6df10f56ee7d2ec0f02f91fbd3290ce64a0
OSD: clean up revcovery_wq queueing and ref counting

Previously, we tended to explicitely remove the pg from the queue uisng
remove_myself on the xlist::item.  This causes us to drop a reference
count.  Manipulating the revovery_wq is now accomplished through the
recovery_wq interface, which also handles pg ref counting.

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/OSD.cc
src/osd/OSD.h