]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSD: Juggle the locking when resurrecting a PG
authorGreg Farnum <greg@inktank.com>
Sun, 13 Apr 2014 06:06:37 +0000 (23:06 -0700)
committerGreg Farnum <greg@inktank.com>
Mon, 5 May 2014 22:29:20 +0000 (15:29 -0700)
commit9028f95e54d15263c88a1865b696b42413cdf862
tree21bb7a7efcab1d28b182866ed6b0a2e32a56304e
parent5268e51b79da4f6c90968c1c69c291a309cb17f6
OSD: Juggle the locking when resurrecting a PG

Don't hold the old PG's lock in _create_lock_pg. Instead, just copy the
necessary data bits into a holding location. Note that this means we aren't
protecting it against change while the new PG is created, which I *think*
is okay...

Signed-off-by: Greg Farnum <greg@inktank.com>
src/osd/OSD.cc