]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: stop trying to create localized pgs >= max osd|device
authorSage Weil <sage@newdream.net>
Thu, 10 Dec 2009 16:28:31 +0000 (08:28 -0800)
committerSage Weil <sage@newdream.net>
Thu, 10 Dec 2009 17:24:31 +0000 (09:24 -0800)
commitcfda3be56f9cd00afac9248fa8df723bf318702c
tree1057e5713cdb0a18d92fec677ef9e81a4229a014
parent6743d3f60478cd4423ce23e93f8331cffeb351fd
mon: stop trying to create localized pgs >= max osd|device

If lpg_num == lpgp_num, and the preferred osd no longer exists, there is
no guarantee that the parent and child pgs will land on the same osd.  This
happens when we are creating pgs for a new osd, they don't finish getting
created, and then we destroy that OSD again.

Care should be taken to avoid expanding the OSD count _and_ lpg_num
simultaneously...
src/TODO
src/mon/PGMap.h
src/mon/PGMonitor.cc