commit | e17e8969f5c59a10083af5e260bdad6026872203 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Mon Jul 24 16:43:49 2017 +0200 |
committer | Ilya Dryomov <idryomov@gmail.com> | Tue Aug 01 16:46:44 2017 +0200 |
tree | 5f1d1a3efc01a5970aa653ea7d5dba3e1d36de42 | |
parent | 4690faf00cf838392ce038202a85ac0d5f1df598 [diff] |
libceph: fallback for when there isn't a pool-specific choose_arg There is now a fallback to a choose_arg index of -1 if there isn't a pool-specific choose_arg set. If you create a per-pool weight-set, that works for that pool. Otherwise we try the compat/default one. If that doesn't exist either, then we use the normal CRUSH weights. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Sage Weil <sage@redhat.com>