]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
OSD: Push responsibility for grabbing pg_map_lock up to callers of _remove_pg()
authorGreg Farnum <greg@inktank.com>
Thu, 10 Apr 2014 21:19:46 +0000 (14:19 -0700)
committerGreg Farnum <greg@inktank.com>
Mon, 5 May 2014 22:29:17 +0000 (15:29 -0700)
commit9d8c797e65cbaacda86d53c665768899cde9334f
treef767d1abe3ac63323b9039c02050f3c80fdcf5ee
parent00d36f6e8a7034f044d6b6403ca69baf00ae8fc6
OSD: Push responsibility for grabbing pg_map_lock up to callers of _remove_pg()

The atomicity requirements of other systems prevent us dropping the PG lock
inside that function, and the PG lock is ordered underneath the pg_map_lock.

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