summaryrefslogtreecommitdiff
path: root/drivers/md/md-cluster.h
blob: 51a24df15b64bbde1af3dce6ac0bc134db6c0ddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _MD_CLUSTER_H
#define _MD_CLUSTER_H

#include "md.h"

struct mddev;

struct md_cluster_operations {
	int (*join)(struct mddev *mddev, int nodes);
	int (*leave)(struct mddev *mddev);
	int (*slot_number)(struct mddev *mddev);
	void (*resync_info_update)(struct mddev *mddev, sector_t lo, sector_t hi);
};

#endif /* _MD_CLUSTER_H */