Skip to content
Snippets Groups Projects
Commit a35eca95 authored by Greg Farnum's avatar Greg Farnum Committed by Sage Weil
Browse files

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: default avatarGreg Farnum <gregory.farnum@dreamhost.com>
parent 83eaea22
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment