mirror of
https://github.com/ceph/ceph
synced 2025-02-15 06:48:22 +00:00
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@2100 29311d96-e01e-0410-9327-a35deaab8ce9
20 lines
288 B
C
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
|