]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: add support for osd primary affinity
authorIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 24 Mar 2014 15:12:49 +0000 (17:12 +0200)
committerSage Weil <sage@inktank.com>
Sat, 5 Apr 2014 04:08:17 +0000 (21:08 -0700)
commitbb94a78d193774cb241f988535256de3d74755be
tree1dbfa1b18638f70684a531ba53c16e40a7e3f320
parenta114a2987057b40296f06753427a220f40f502eb
libceph: add support for osd primary affinity

Respond to non-default primary_affinity values accordingly.  (Primary
affinity allows the admin to shift 'primary responsibility' away from
specific osds, effectively shifting around the read side of the
workload and whatever overhead is incurred by peering and writes by
virtue of being the primary).

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
net/ceph/osdmap.c