Lines Matching defs:r10conf
14 struct r10conf { struct
15 struct mddev *mddev;
16 struct mirror_info *mirrors;
17 int raid_disks;
18 spinlock_t device_lock;
21 int near_copies; /* number of copies laid out
23 int far_copies; /* number of copies laid out
26 int far_offset; /* far_copies are offset by 1
29 int copies; /* near_copies * far_copies.
32 sector_t stride; /* distance between far copies.
38 sector_t dev_sectors; /* temp copy of
41 int chunk_shift; /* shift from chunks to sectors */
42 sector_t chunk_mask;
44 struct list_head retry_list;
46 struct bio_list pending_bio_list;
47 int pending_count;
49 spinlock_t resync_lock;
50 int nr_pending;
51 int nr_waiting;
52 int nr_queued;
53 int barrier;
54 sector_t next_resync;
55 int fullsync; /* set to 1 if a full sync is needed,
59 int have_replacement; /* There is at least one
62 wait_queue_head_t wait_barrier;
64 mempool_t *r10bio_pool;
65 mempool_t *r10buf_pool;
66 struct page *tmppage;
71 struct md_thread *thread;