commit | 1c2e7b451b889bead46cef410a737d1767cd6f0b | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Wed Jun 21 17:27:18 2017 +0200 |
committer | Ilya Dryomov <idryomov@gmail.com> | Fri Jul 07 17:25:18 2017 +0200 |
tree | feed3db675b4019f726ebb5dd68423022abae9bc | |
parent | 463bb8da5042c165bf50ae2688d251c5af26f3cf [diff] |
libceph: apply_upmap() Previously, pg_to_raw_osds() didn't filter for existent OSDs because raw_to_up_osds() would filter for "up" ("up" is predicated on "exists") and raw_to_up_osds() was called directly after pg_to_raw_osds(). Now, with apply_upmap() call in there, nonexistent OSDs in pg_to_raw_osds() output can affect apply_upmap(). Introduce remove_nonexistent_osds() to deal with that. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>