0001
0002 #ifndef _MULTIPATH_H
0003 #define _MULTIPATH_H
0004
0005 struct multipath_info {
0006 struct md_rdev *rdev;
0007 };
0008
0009 struct mpconf {
0010 struct mddev *mddev;
0011 struct multipath_info *multipaths;
0012 int raid_disks;
0013 spinlock_t device_lock;
0014 struct list_head retry_list;
0015
0016 mempool_t pool;
0017 };
0018
0019
0020
0021
0022
0023
0024
0025 struct multipath_bh {
0026 struct mddev *mddev;
0027 struct bio *master_bio;
0028 struct bio bio;
0029 int path;
0030 struct list_head retry_list;
0031 };
0032 #endif