linear.h 265 B

12345678910111213141516
  1. #ifndef _LINEAR_H
  2. #define _LINEAR_H
  3. struct dev_info {
  4. struct md_rdev *rdev;
  5. sector_t end_sector;
  6. };
  7. struct linear_conf
  8. {
  9. struct rcu_head rcu;
  10. sector_t array_sectors;
  11. int raid_disks; /* a copy of mddev->raid_disks */
  12. struct dev_info disks[0];
  13. };
  14. #endif