raid0.h 490 B

1234567891011121314151617181920
  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. int has_merge_bvec; /* at least one member has
  14. * a merge_bvec_fn */
  15. };
  16. #endif