• Greg Farnum's avatar
    ceph: let the set_layout ioctl set single traits · a35eca95
    Greg Farnum authored
    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>
    a35eca95
ioctl.c 7.82 KB