Lines Matching defs:md_rdev

40 struct md_rdev {  struct
41 struct list_head same_set; /* RAID devices within the same set */
43 sector_t sectors; /* Device size (in 512bytes sectors) */
44 struct mddev *mddev; /* RAID array if running */
45 int last_events; /* IO event timestamp */
52 struct block_device *meta_bdev;
53 struct block_device *bdev; /* block device handle */
55 struct page *sb_page, *bb_page;
56 int sb_loaded;
57 __u64 sb_events;
58 sector_t data_offset; /* start of data in array */
59 sector_t new_data_offset;/* only relevant while reshaping */
60 sector_t sb_start; /* offset of the super block (in 512byte sectors) */
61 int sb_size; /* bytes in the superblock */
62 int preferred_minor; /* autorun support */
64 struct kobject kobj;
77 unsigned long flags; /* bit set of 'enum flag_bits' bits. */
78 wait_queue_head_t blocked_wait;
80 int desc_nr; /* descriptor index in the superblock */
81 int raid_disk; /* role of device in array */
82 int new_raid_disk; /* role that the device will have in
85 int saved_raid_disk; /* role that device used to have in the
89 sector_t recovery_offset;/* If this device has been partially
94 atomic_t nr_pending; /* number of pending requests.
98 atomic_t read_errors; /* number of consecutive read errors that
101 struct timespec last_read_error; /* monotonic time since our
104 atomic_t corrected_errors; /* number of corrected read errors,
108 struct work_struct del_work; /* used for delayed sysfs removal */
110 struct kernfs_node *sysfs_state; /* handle for 'state'
113 struct badblocks {
128 } badblocks;