perf/x86/intel/pt: Allow the disabling of branch tracing
[linux/fpc-iii.git] / drivers / md / multipath.h
blob717c60f628982ebf659c7aa00bd1608e0fc8ddf0
1 #ifndef _MULTIPATH_H
2 #define _MULTIPATH_H
4 struct multipath_info {
5 struct md_rdev *rdev;
6 };
8 struct mpconf {
9 struct mddev *mddev;
10 struct multipath_info *multipaths;
11 int raid_disks;
12 spinlock_t device_lock;
13 struct list_head retry_list;
15 mempool_t *pool;
19 * this is our 'private' 'collective' MULTIPATH buffer head.
20 * it contains information about what kind of IO operations were started
21 * for this MULTIPATH operation, and about their status:
24 struct multipath_bh {
25 struct mddev *mddev;
26 struct bio *master_bio;
27 struct bio bio;
28 int path;
29 struct list_head retry_list;
31 #endif