diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-03-24 15:12:47 (GMT) |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2014-04-05 04:08:10 (GMT) |
commit | 2bd93d4d7ec2dd461cfb87c6d8a9b1ef9b30de08 (patch) | |
tree | 28aba9466ec7d7142799d97279eafc28eb7da938 /fs/xfs | |
parent | 2abebdbca7997422bfab6bf8b6559384a6b95294 (diff) | |
download | linux-2bd93d4d7ec2dd461cfb87c6d8a9b1ef9b30de08.tar.xz |
libceph: introduce pg_to_raw_osds() and raw_to_up_osds() helpers
pg_to_raw_osds() helper for computing a raw (crush) set, which can
contain non-existant and down osds.
raw_to_up_osds() helper for pruning non-existant and down osds from the
raw set, therefore transforming it into an up set, and determining up
primary.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'fs/xfs')
0 files changed, 0 insertions, 0 deletions