libceph: decode CRUSH device/bucket types and names
authorIlya Dryomov <idryomov@gmail.com>
Tue, 19 May 2020 15:09:52 +0000 (17:09 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 1 Jun 2020 11:22:53 +0000 (13:22 +0200)
commit86403a92c3c5c6c395983fdbfc5e2f29dc39279b
tree0c1b12653a587c8ca07f16d448066281659b6458
parent8a4b863c876d9f135fa00cfe65774c3740970303
libceph: decode CRUSH device/bucket types and names

These would be matched with the provided client location to calculate
the locality value.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
include/linux/crush/crush.h
net/ceph/crush/crush.c
net/ceph/osdmap.c