]>
git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: unify sources of no{up,down,in,out} flags into singleton helpers
Currently there are various ways to set no{up,down,in,out} flags,
by osd, by crush node, or by device class.
Use traditional is_no{up,down,in,out} helper to catch-all,
and add special wrappers for certain internal consumers.
This way osd won't ignore the noup flag set by the new crush node,
device class, or any future sources.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>