libceph, crush: per-pool crush_choose_arg_map for crush_do_rule()
authorIlya Dryomov <idryomov@gmail.com>
Thu, 22 Jun 2017 17:44:05 +0000 (19:44 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 7 Jul 2017 15:25:19 +0000 (17:25 +0200)
commit5cf9c4a9959b6273675310d14a834ef14fbca37c
tree8ea2729271f9bcb06f6b1448ac066e57e1e21d27
parent069f3222ca96acfe8c59937e98c401bda5475b48
libceph, crush: per-pool crush_choose_arg_map for crush_do_rule()

If there is no crush_choose_arg_map for a given pool, a NULL pointer is
passed to preserve existing crush_do_rule() behavior.

Reflects ceph.git commits 55fb91d64071552ea1bc65ab4ea84d3c8b73ab4b,
                          dbe36e08be00c6519a8c89718dd47b0219c20516.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/crush/crush.h
net/ceph/crush/crush.c
net/ceph/osdmap.c