git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2abebdb
)
libceph: introduce pg_to_raw_osds() and raw_to_up_osds() helpers
author
Ilya Dryomov
<ilya.dryomov@inktank.com>
Mon, 24 Mar 2014 15:12:47 +0000
(17:12 +0200)
committer
Sage Weil
<sage@inktank.com>
Sat, 5 Apr 2014 04:08:10 +0000
(21:08 -0700)
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>
net/ceph/osdmap.c
patch
|
blob
|
history
diff --cc
net/ceph/osdmap.c
Simple merge