raid0.h 398 B

12345678910111213141516
  1. #ifndef _RAID0_H
  2. #define _RAID0_H
  3. struct strip_zone {
  4. sector_t zone_end; /* Start of the next zone (in sectors) */
  5. sector_t dev_start; /* Zone offset in real dev (in sectors) */
  6. int nb_dev; /* # of devices attached to the zone */
  7. };
  8. struct r0conf {
  9. struct strip_zone *strip_zone;
  10. struct md_rdev **devlist; /* lists of rdevs, pointed to by strip_zone->dev */
  11. int nr_strip_zones;
  12. };
  13. #endif