]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: prime pg_slots for to-be-split children
authorSage Weil <sage@redhat.com>
Wed, 3 Jan 2018 17:48:37 +0000 (11:48 -0600)
committerSage Weil <sage@redhat.com>
Wed, 4 Apr 2018 13:26:49 +0000 (08:26 -0500)
commitae210722b4a3eea256ca3379ec1388c94e224695
treea61851d5327cf7d8a4190f0a5b5782a06312d1dd
parent718b6baa3c027ce66004eef828c54f3d32c0aa7c
osd: prime pg_slots for to-be-split children

Once we know which PGs are about to be created, we instantiate their
pg_slot and mark them waiting_pg, which blocks all incoming events until
the split completes, the PG is installed, and we call wake_pg_waiters().

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc
src/osd/OSD.h