diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2016-04-28 16:07:22 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-05-26 00:36:25 +0200 |
commit | 6f3bfd45cd233eea0b07e3cabc0386b5de9321d2 (patch) | |
tree | cda9593b00d971b10ebeb9279ad1893978236df8 /net/atm | |
parent | d9591f5e28686277d9312d3c7422faf1368b305e (diff) | |
download | op-kernel-dev-6f3bfd45cd233eea0b07e3cabc0386b5de9321d2.zip op-kernel-dev-6f3bfd45cd233eea0b07e3cabc0386b5de9321d2.tar.gz |
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>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions