Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154712
b: refs/heads/master
c: a5c308d
h: refs/heads/master
v: v3
  • Loading branch information
NeilBrown committed Jul 1, 2009
1 parent 992c0b4 commit a989863
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: 0909dc448c98ed5021c87ffdfc09fb473aa464ab
refs/heads/master: a5c308d4d1659b1f4833b863394e3e24cdbdfc6e
3 changes: 2 additions & 1 deletion trunk/drivers/md/raid5.c
Original file line number Diff line number Diff line change
Expand Up @@ -3702,7 +3702,8 @@ static int make_request(struct request_queue *q, struct bio * bi)
/* FIXME what if we get a false positive because these
* are being updated.
*/
if (logical_sector >= mddev->suspend_lo &&
if (bio_data_dir(bi) == WRITE &&
logical_sector >= mddev->suspend_lo &&
logical_sector < mddev->suspend_hi) {
release_stripe(sh);
schedule();
Expand Down

0 comments on commit a989863

Please sign in to comment.