]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: command to disable localized pgs for a pool
authorSage Weil <sage@newdream.net>
Wed, 11 Apr 2012 22:32:06 +0000 (15:32 -0700)
committerSage Weil <sage@newdream.net>
Wed, 11 Apr 2012 22:39:06 +0000 (15:39 -0700)
commit58671a4cd420564ba0417b1cc25b986b90dd38ea
tree61b761e3d4c31c7722a989e9fcfa88897e48f97d
parent83e1260b8c6644382fc10d5370aff33fa19e6f54
mon: command to disable localized pgs for a pool

ceph osd pool disable_lpgs <poolname> --yes-i-really-mean-it

Grr, these should be off by default.  We can't adjust them down.  And
currently any pool adjustment triggers pg creation, which will create these
guys up through max_osd (but not, mind you, when max_osd changes).  And
a bug in the OSDs makes them think that creation is a split and get
confused.

Signed-off-by: Sage Weil <sage@newdream.net>
src/mon/OSDMonitor.cc