2014-03-29 09:01:53 -06:00
|
|
|
|
|
|
|
|
|
|
|
#ifndef _MD_CLUSTER_H
|
|
|
|
#define _MD_CLUSTER_H
|
|
|
|
|
|
|
|
#include "md.h"
|
|
|
|
|
|
|
|
struct mddev;
|
|
|
|
|
|
|
|
struct md_cluster_operations {
|
2014-03-29 23:42:49 -06:00
|
|
|
int (*join)(struct mddev *mddev, int nodes);
|
2014-03-29 09:01:53 -06:00
|
|
|
int (*leave)(struct mddev *mddev);
|
2014-03-29 23:42:49 -06:00
|
|
|
int (*slot_number)(struct mddev *mddev);
|
2014-03-29 09:01:53 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _MD_CLUSTER_H */
|