Lines Matching +full:write +full:- +full:to +full:- +full:write

10  * memory pools need a pointer to the mddev, so they can force an unplug
12 * pool was allocated for, so they know how much to allocate and free.
13 * mddev->raid_disks cannot be used, as it can change while a pool is active
27 struct mirror_info *mirrors; /* twice 'raid_disks' to
33 * we try to keep sequential reads one the same device
46 /* list of 'struct r1bio' that need to be processed by raid1d,
47 * whether to retry a read, writeout a resync or recovery
52 /* queue pending writes to be submitted on unplug */
58 * the same time - resync/recovery can only happen when there
59 * is no other IO. So when either is active, the other has to wait.
69 /* Set to 1 if a full sync is needed, (fresh device added).
74 /* When the same as mddev->recovery_disabled we don't allow
75 * recovery to be attempted as we expect a read error.
81 * mempools - it changes when the array grows or shrinks
87 /* temporary buffer to synchronous IO when attempting to repair
110 atomic_t behind_remaining; /* number of write-behind ios remaining
118 * original bio going to /dev/mdx
131 * if the IO is in WRITE direction, then multiple bios are used.
135 /* DO NOT PUT ANY NEW FIELDS HERE - bios array is contiguously alloced*/
138 /* when we get a read error on a read-only array, we redirect to another
139 * device without failing the first device, or trying to over-write to
140 * correct the read error. To keep track of bad blocks on a per-bio
144 /* When we successfully write to a known bad-block, we need to remove the
145 * bad-block marking which must be done from process context. So we record
146 * the success by setting bios[n] to IO_MADE_GOOD
158 * raid1d knows what to do with them.
161 /* For write-behind requests, we call bi_end_io when
162 * the last non-write-behind device completes, providing
163 * any write was successful. Otherwise we call when
164 * any write-behind write succeeds, otherwise we call
165 * with failure when last write completes (and all failed).
169 /* If a write for this request means we can clear some
170 * known-bad-block records, we set this flag