/* Update disk head position estimator based on IRQ completion info.  */
static void update_head_pos(int slot, r10bio_t *r10_bio)
/* Update disk head position estimator based on IRQ completion info.  */
static void update_head_pos(int slot, r10bio_t *r10_bio)
{
	conf_t *conf = r10_bio->mddev->private;
	conf->mirrors[r10_bio->devs[slot].devnum].head_position =
		r10_bio->devs[slot].addr + (r10_bio->sectors);
}