]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - net/ceph/osdmap.c
crush: eliminate CRUSH_MAX_SET result size limitation
authorIlya Dryomov <ilya.dryomov@inktank.com>
Tue, 24 Dec 2013 19:19:24 +0000 (21:19 +0200)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Tue, 31 Dec 2013 18:32:14 +0000 (20:32 +0200)
commite8ef19c4ad161768e1d8309d5ae18481c098eb81
tree9ba7cd6965c530228085fba2bf23dcc132ea94d3
parent2a4ba74ef67ad3a1645d78487ed7ccd0f40063c0
crush: eliminate CRUSH_MAX_SET result size limitation

This is only present to size the temporary scratch arrays that we put on
the stack.  Let the caller allocate them as they wish and remove the
limitation.

Reflects ceph.git commit 1cfe140bf2dab99517589a82a916f4c75b9492d1.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
include/linux/crush/crush.h
include/linux/crush/mapper.h
net/ceph/crush/mapper.c
net/ceph/osdmap.c