Merge tag 'trace-v5.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[linux/fpc-iii.git] / drivers / md / md-multipath.h
blobb3099e5fc4d76f9dc0210c92d6541bbfe1a172c6
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _MULTIPATH_H
3 #define _MULTIPATH_H
5 struct multipath_info {
6 struct md_rdev *rdev;
7 };
9 struct mpconf {
10 struct mddev *mddev;
11 struct multipath_info *multipaths;
12 int raid_disks;
13 spinlock_t device_lock;
14 struct list_head retry_list;
16 mempool_t pool;
20 * this is our 'private' 'collective' MULTIPATH buffer head.
21 * it contains information about what kind of IO operations were started
22 * for this MULTIPATH operation, and about their status:
25 struct multipath_bh {
26 struct mddev *mddev;
27 struct bio *master_bio;
28 struct bio bio;
29 int path;
30 struct list_head retry_list;
32 #endif