|
@@ -1064,6 +1064,8 @@ static void __make_request(struct mddev *mddev, struct bio *bio)
|
|
|
int max_sectors;
|
|
|
int sectors;
|
|
|
|
|
|
+ md_write_start(mddev, bio);
|
|
|
+
|
|
|
/*
|
|
|
* Register the new request and wait if the reconstruction
|
|
|
* thread has put up a bar for new requests.
|
|
@@ -1445,8 +1447,6 @@ static void raid10_make_request(struct mddev *mddev, struct bio *bio)
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- md_write_start(mddev, bio);
|
|
|
-
|
|
|
do {
|
|
|
|
|
|
/*
|