commit | 702aeb1f88e707241d76e1e2a1a02dd81e6c2d77 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@inktank.com> | Mon May 14 12:34:38 2012 -0700 |
committer | Alex Elder <elder@dreamhost.com> | Wed May 16 14:28:27 2012 -0500 |
tree | 1d605a2109700d5ba4cc6c95f253e6ee3e10a120 | |
parent | fd51653f78cf40a0516e521b6de22f329c5bad8d [diff] |
ceph: fully initialize new layout When we are setting a new layout, fully initialize the structure: - zero it out - always set preferred_osd to -1 Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Alex Elder <elder@inktank.com>