xref: /openbmc/linux/drivers/md/md-linear.h (revision 3a83e4e6)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINEAR_H
3 #define _LINEAR_H
4 
5 struct dev_info {
6 	struct md_rdev	*rdev;
7 	sector_t	end_sector;
8 };
9 
10 struct linear_conf
11 {
12 	struct rcu_head		rcu;
13 	sector_t		array_sectors;
14 	int			raid_disks; /* a copy of mddev->raid_disks */
15 	struct dev_info		disks[];
16 };
17 #endif
18