commit | a35eca958aa1c7d0b5f993db1a3ded45ae16d59b | [log] [tgz] |
---|---|---|
author | Greg Farnum <gregory.farnum@dreamhost.com> | Thu Aug 25 12:43:06 2011 -0700 |
committer | Sage Weil <sage@newdream.net> | Tue Oct 25 16:10:16 2011 -0700 |
tree | 4d496b38cdd39d3363aaf23888f1932422ce5682 | |
parent | 83eaea22bdfc9e1cec88f81be5b64f30f6c37e8b [diff] |
ceph: let the set_layout ioctl set single traits Previously we were validating the passed-in stripe unit, object size, and stripe count against each other (and not testing most other stuff). Instead, make sure that the composed previous layout and new values are valid, and only send the new values to the MDS. This lets users change the pool without setting the whole layout, for instance. Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>