Lines Matching defs:md_rdev

38 struct md_rdev {  struct
39 struct list_head same_set; /* RAID devices within the same set */
41 sector_t sectors; /* Device size (in 512bytes sectors) */
42 struct mddev *mddev; /* RAID array if running */
43 int last_events; /* IO event timestamp */
50 struct block_device *meta_bdev;
51 struct block_device *bdev; /* block device handle */
53 struct page *sb_page, *bb_page;
54 int sb_loaded;
55 __u64 sb_events;
56 sector_t data_offset; /* start of data in array */
57 sector_t new_data_offset;/* only relevant while reshaping */
58 sector_t sb_start; /* offset of the super block (in 512byte sectors) */
59 int sb_size; /* bytes in the superblock */
60 int preferred_minor; /* autorun support */
62 struct kobject kobj;
75 unsigned long flags; /* bit set of 'enum flag_bits' bits. */
76 wait_queue_head_t blocked_wait;
78 int desc_nr; /* descriptor index in the superblock */
79 int raid_disk; /* role of device in array */
80 int new_raid_disk; /* role that the device will have in
83 int saved_raid_disk; /* role that device used to have in the
87 union {
98 atomic_t nr_pending; /* number of pending requests.
102 atomic_t read_errors; /* number of consecutive read errors that
105 time64_t last_read_error; /* monotonic time since our
108 atomic_t corrected_errors; /* number of corrected read errors,
116 struct list_head wb_list;
117 spinlock_t wb_list_lock;
118 wait_queue_head_t wb_io_wait;
120 struct work_struct del_work; /* used for delayed sysfs removal */
122 struct kernfs_node *sysfs_state; /* handle for 'state'
125 struct badblocks badblocks;
127 struct {
132 } ppl;