]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - drivers/md/raid0.h
Merge branch 'linux-4.15' of git://github.com/skeggsb/linux into drm-fixes
[mirror_ubuntu-eoan-kernel.git] / drivers / md / raid0.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _RAID0_H
3 #define _RAID0_H
4
5 struct strip_zone {
6 sector_t zone_end; /* Start of the next zone (in sectors) */
7 sector_t dev_start; /* Zone offset in real dev (in sectors) */
8 int nb_dev; /* # of devices attached to the zone */
9 };
10
11 struct r0conf {
12 struct strip_zone *strip_zone;
13 struct md_rdev **devlist; /* lists of rdevs, pointed to
14 * by strip_zone->dev */
15 int nr_strip_zones;
16 };
17
18 #endif