Blame view
drivers/md/md-multipath.h
649 Bytes
b24413180 License cleanup: ... |
1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
1da177e4c Linux-2.6.12-rc2 |
2 3 |
#ifndef _MULTIPATH_H #define _MULTIPATH_H |
1da177e4c Linux-2.6.12-rc2 |
4 |
struct multipath_info { |
3cb030020 md: removing type... |
5 |
struct md_rdev *rdev; |
1da177e4c Linux-2.6.12-rc2 |
6 |
}; |
69724e28c md/multipath: typ... |
7 |
struct mpconf { |
fd01b88c7 md: remove typede... |
8 |
struct mddev *mddev; |
1da177e4c Linux-2.6.12-rc2 |
9 10 |
struct multipath_info *multipaths; int raid_disks; |
1da177e4c Linux-2.6.12-rc2 |
11 12 |
spinlock_t device_lock; struct list_head retry_list; |
afeee514c md: convert to bi... |
13 |
mempool_t pool; |
1da177e4c Linux-2.6.12-rc2 |
14 |
}; |
1da177e4c Linux-2.6.12-rc2 |
15 |
/* |
1da177e4c Linux-2.6.12-rc2 |
16 17 18 19 20 21 |
* this is our 'private' 'collective' MULTIPATH buffer head. * it contains information about what kind of IO operations were started * for this MULTIPATH operation, and about their status: */ struct multipath_bh { |
fd01b88c7 md: remove typede... |
22 |
struct mddev *mddev; |
1da177e4c Linux-2.6.12-rc2 |
23 24 25 26 27 28 |
struct bio *master_bio; struct bio bio; int path; struct list_head retry_list; }; #endif |