diff options
author | Ilya Dryomov | 2017-07-24 16:43:49 +0200 |
---|---|---|
committer | Ilya Dryomov | 2017-08-01 16:46:44 +0200 |
commit | e17e8969f5c59a10083af5e260bdad6026872203 (patch) | |
tree | 5f1d1a3efc01a5970aa653ea7d5dba3e1d36de42 /crypto/lz4hc.c | |
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>
Diffstat (limited to 'crypto/lz4hc.c')
0 files changed, 0 insertions, 0 deletions