Lines Matching refs:this

51  * 'use_far_sets' is true.  In this case, the array's devices are grouped into
53 * are still shifted by 'near_copies' devices, but this shifting stays confined
360 * this branch is our 'one mirror IO has finished' event handler:
376 /* If all other devices that store this block have
450 * this branch is our 'one mirror IO has finished' event handler:
503 * check this here.
552 * With this layout, and block is never stored twice on the one device.
642 /* Never use conf->prev as this is only called during resync
687 * number - if this matches on the next IO then we use the last disk.
690 * completion handlers update this position correctly. If there is no
778 /* Cannot read here. If this is the
875 * As this is called in a wait_event() loop (see freeze_array),
878 * rare that this path is taken, it is perfectly safe to force
915 * To do this we raise a 'barrier'.
1018 * Thus the number queued (nr_queued) plus this request (extra)
1420 * know to recover this chunk.
1421 * In this case the device is here, and the
1422 * fact that this chunk is not in-sync is
1445 /* Have to wait for this device to get unblocked, then retry */
1536 * If this request crosses a chunk boundary, we need to split
1604 int this = first;
1607 if (this != ignore &&
1608 (rdev = rcu_dereference(conf->mirrors[this].rdev)) &&
1611 this = (this+1) % disks;
2075 /* Just give up on this device */
2079 /* Ok, we need to write this bio, either to correct an
2295 * just set read errors to 0. We do this to avoid
2344 /* still own a reference to this rdev, so it cannot
2453 /* Well, this device is dead */
2490 /* Well, this device is dead */
2533 * blocks. We must handle this.
2894 * given address, one for each out-of-sync device. We model this by allocating
3023 * though before starting on this new sync request.
3034 * In this case, the subordinate r10bios link back through a
3076 /* want to reconstruct this device */
3081 * try to recover this sector.
3271 /* Only want this if there is elsewhere to
3298 /* resync. Schedule a read for every block at this virt offset */
3316 /* We can skip this block */
3507 * no important difference in this case
3617 * actually using this, but leave code here just in case.*/
3962 * For 'offset', this is far_copies*chunksize.
3967 * multiply by chunk_size. Then round to this number.
4136 * an array, this might not contribute to
4152 * this section has already been recovered, so
4400 * down yet. We divide this by previous stripe size and multiply
4404 * From this we use last_device_address() to find where we might
4406 * If this 'next' write position is after the 'safe' position,
4413 * In all this the minimum difference in data offsets
4460 * write to for this chunk in the new layout
4481 * might write to for this chunk in the new layout
4809 /* couldn't read this block, must give up */