]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSD: wake_pg_waiters atomically with pg_map update
authorSamuel Just <sam.just@inktank.com>
Fri, 8 Nov 2013 23:20:49 +0000 (15:20 -0800)
committerGreg Farnum <greg@inktank.com>
Mon, 5 May 2014 22:29:16 +0000 (15:29 -0700)
commit00d36f6e8a7034f044d6b6403ca69baf00ae8fc6
treeb66fc4c90206621f6f96ec8ee2a7d977447649cd
parent3755318342d9126eae7de7c2cb25fee394efb8c9
OSD: wake_pg_waiters atomically with pg_map update

Also, call enqueue_op directly rather than going back
through the entire dispatch machinery.
Be sure to grab the pg lock under the pg_map_lock in _open_lock_pg() to
preserve necessary lock ordering.

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