Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8311
b: refs/heads/master
c: 3ec67ac
h: refs/heads/master
i:
  8309: 89d409c
  8307: 42b591e
  8303: 45ce103
v: v3
  • Loading branch information
NeilBrown authored and Linus Torvalds committed Sep 9, 2005
1 parent 40365a9 commit d1fc7e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 486a153f0e294f7cc735838edcb6b32e623cbe52
refs/heads/master: 3ec67ac1a399d576d48b0736096bcce7721fe3cf
3 changes: 2 additions & 1 deletion trunk/drivers/md/raid10.c
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,8 @@ static int read_balance(conf_t *conf, r10bio_t *r10_bio)
}


current_distance = abs(this_sector - conf->mirrors[disk].head_position);
current_distance = abs(r10_bio->devs[slot].addr -
conf->mirrors[disk].head_position);

/* Find the disk whose head is closest */

Expand Down

0 comments on commit d1fc7e8

Please sign in to comment.