Lines Matching defs:md_rdev
41 struct md_rdev { struct
42 struct list_head same_set; /* RAID devices within the same set */
44 sector_t sectors; /* Device size (in 512bytes sectors) */
45 struct mddev *mddev; /* RAID array if running */
46 int last_events; /* IO event timestamp */
53 struct block_device *meta_bdev;
54 struct block_device *bdev; /* block device handle */
56 struct page *sb_page, *bb_page;
57 int sb_loaded;
58 __u64 sb_events;
59 sector_t data_offset; /* start of data in array */
60 sector_t new_data_offset;/* only relevant while reshaping */
61 sector_t sb_start; /* offset of the super block (in 512byte sectors) */
62 int sb_size; /* bytes in the superblock */
63 int preferred_minor; /* autorun support */
65 struct kobject kobj;
78 unsigned long flags; /* bit set of 'enum flag_bits' bits. */
79 wait_queue_head_t blocked_wait;
81 int desc_nr; /* descriptor index in the superblock */
82 int raid_disk; /* role of device in array */
83 int new_raid_disk; /* role that the device will have in
86 int saved_raid_disk; /* role that device used to have in the
90 union {
101 atomic_t nr_pending; /* number of pending requests.
105 atomic_t read_errors; /* number of consecutive read errors that
108 struct timespec last_read_error; /* monotonic time since our
111 atomic_t corrected_errors; /* number of corrected read errors,
115 struct work_struct del_work; /* used for delayed sysfs removal */
117 struct kernfs_node *sysfs_state; /* handle for 'state'
120 struct badblocks {
135 } badblocks;