raid0.h 412 B

123456789101112131415161718
  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
  11. * by strip_zone->dev */
  12. int nr_strip_zones;
  13. };
  14. #endif