summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2017-07-24 16:43:49 +0200
committerIlya Dryomov <idryomov@gmail.com>2017-08-01 16:46:44 +0200
commite17e8969f5c59a10083af5e260bdad6026872203 (patch)
tree5f1d1a3efc01a5970aa653ea7d5dba3e1d36de42 /net/switchdev/switchdev.c
parent4690faf00cf838392ce038202a85ac0d5f1df598 (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 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions