]> 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)
commitf30740d1614fe45b318e13bab9f35018b981d727
tree1dbfa1b18638f70684a531ba53c16e40a7e3f320
parent87c84c34ed8b9b435781d4fae7d5a67ab795555b
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