commit | 8008ab1080c1768b02d232dcfd9e161cd47cc9f7 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <ilya.dryomov@inktank.com> | Mon Mar 24 17:12:48 2014 +0200 |
committer | Sage Weil <sage@inktank.com> | Fri Apr 04 21:08:14 2014 -0700 |
tree | a1f59c1f607a9e118a7047be73b7f93e4195d32e | |
parent | ac972230e20581b044f5ce66dcaf3c5af8d57444 [diff] |
libceph: return primary from ceph_calc_pg_acting() In preparation for adding support for primary_temp, stop assuming primaryness: add a primary out parameter to ceph_calc_pg_acting() and change call sites accordingly. Primary is now specified separately from the order of osds in the set. Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org>