diff options
author | Greg Farnum <gregory.farnum@dreamhost.com> | 2011-08-25 15:43:06 -0400 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2011-10-25 19:10:16 -0400 |
commit | a35eca958aa1c7d0b5f993db1a3ded45ae16d59b (patch) | |
tree | 4d496b38cdd39d3363aaf23888f1932422ce5682 /lib/devres.c | |
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>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions