Lines Matching defs:md_rdev

130 struct md_rdev {  struct
131 struct list_head same_set; /* RAID devices within the same set */
133 sector_t sectors; /* Device size (in 512bytes sectors) */
134 struct mddev *mddev; /* RAID array if running */
135 int last_events; /* IO event timestamp */
142 struct block_device *meta_bdev;
143 struct block_device *bdev; /* block device handle */
144 struct file *bdev_file; /* Handle from open for bdev */
146 struct page *sb_page, *bb_page;
147 int sb_loaded;
148 __u64 sb_events;
149 sector_t data_offset; /* start of data in array */
150 sector_t new_data_offset;/* only relevant while reshaping */
151 sector_t sb_start; /* offset of the super block (in 512byte sectors) */
152 int sb_size; /* bytes in the superblock */
153 int preferred_minor; /* autorun support */
155 struct kobject kobj;
168 unsigned long flags; /* bit set of 'enum flag_bits' bits. */
169 wait_queue_head_t blocked_wait;
171 int desc_nr; /* descriptor index in the superblock */
172 int raid_disk; /* role of device in array */
173 int new_raid_disk; /* role that the device will have in
176 int saved_raid_disk; /* role that device used to have in the
180 union {
191 atomic_t nr_pending; /* number of pending requests.
195 atomic_t read_errors; /* number of consecutive read errors that
198 time64_t last_read_error; /* monotonic time since our
201 atomic_t corrected_errors; /* number of corrected read errors,
206 struct serial_in_rdev *serial; /* used for raid1 io serialization */
208 struct kernfs_node *sysfs_state; /* handle for 'state'
211 struct kernfs_node *sysfs_unack_badblocks;
213 struct kernfs_node *sysfs_badblocks;
214 struct badblocks badblocks;
216 struct {
221 } ppl;