commit | 6f3bfd45cd233eea0b07e3cabc0386b5de9321d2 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Thu Apr 28 16:07:22 2016 +0200 |
committer | Ilya Dryomov <idryomov@gmail.com> | Thu May 26 00:36:25 2016 +0200 |
tree | cda9593b00d971b10ebeb9279ad1893978236df8 | |
parent | d9591f5e28686277d9312d3c7422faf1368b305e [diff] |
libceph: ceph_osds, ceph_pg_to_up_acting_osds() Knowning just acting set isn't enough, we need to be able to record up set as well to detect interval changes. This means returning (up[], up_len, up_primary, acting[], acting_len, acting_primary) and passing it around. Introduce and switch to ceph_osds to help with that. Rename ceph_calc_pg_acting() to ceph_pg_to_up_acting_osds() and return both up and acting sets from it. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>