ceph/branches/ebofs/crush/mapper.h
sageweil dc48f25847 branch for ebofs changes
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@2100 29311d96-e01e-0410-9327-a35deaab8ce9
2007-11-21 00:32:00 +00:00

20 lines
288 B
C

#ifndef _CRUSH_MAPPER_H
#define _CRUSH_MAPPER_H
#ifdef __cplusplus
extern "C" {
#endif
#include "crush.h"
extern int crush_do_rule(struct crush_map *map,
int ruleno,
int x, int *result, int result_max,
int forcefeed); /* -1 for none */
#ifdef __cplusplus
}
#endif
#endif