Lines Matching defs:md_rdev

48 struct md_rdev {  struct
49 struct list_head same_set; /* RAID devices within the same set */
51 sector_t sectors; /* Device size (in 512bytes sectors) */
52 struct mddev *mddev; /* RAID array if running */
53 int last_events; /* IO event timestamp */
60 struct block_device *meta_bdev;
61 struct block_device *bdev; /* block device handle */
63 struct page *sb_page, *bb_page;
64 int sb_loaded;
65 __u64 sb_events;
66 sector_t data_offset; /* start of data in array */
67 sector_t new_data_offset;/* only relevant while reshaping */
68 sector_t sb_start; /* offset of the super block (in 512byte sectors) */
69 int sb_size; /* bytes in the superblock */
70 int preferred_minor; /* autorun support */
72 struct kobject kobj;
85 unsigned long flags; /* bit set of 'enum flag_bits' bits. */
86 wait_queue_head_t blocked_wait;
88 int desc_nr; /* descriptor index in the superblock */
89 int raid_disk; /* role of device in array */
90 int new_raid_disk; /* role that the device will have in
93 int saved_raid_disk; /* role that device used to have in the
97 union {
108 atomic_t nr_pending; /* number of pending requests.
112 atomic_t read_errors; /* number of consecutive read errors that
115 time64_t last_read_error; /* monotonic time since our
118 atomic_t corrected_errors; /* number of corrected read errors,
123 struct serial_in_rdev *serial; /* used for raid1 io serialization */
125 struct work_struct del_work; /* used for delayed sysfs removal */
127 struct kernfs_node *sysfs_state; /* handle for 'state'
130 struct kernfs_node *sysfs_unack_badblocks;
132 struct kernfs_node *sysfs_badblocks;
133 struct badblocks badblocks;
135 struct {
140 } ppl;