|
@@ -1956,9 +1956,10 @@ static int __raid56_parity_recover(struct btrfs_raid_bio *rbio)
|
|
|
* pages are going to be uptodate.
|
|
* pages are going to be uptodate.
|
|
|
*/
|
|
*/
|
|
|
for (stripe = 0; stripe < bbio->num_stripes; stripe++) {
|
|
for (stripe = 0; stripe < bbio->num_stripes; stripe++) {
|
|
|
- if (rbio->faila == stripe ||
|
|
|
|
|
- rbio->failb == stripe)
|
|
|
|
|
|
|
+ if (rbio->faila == stripe || rbio->failb == stripe) {
|
|
|
|
|
+ atomic_inc(&rbio->bbio->error);
|
|
|
continue;
|
|
continue;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
for (pagenr = 0; pagenr < nr_pages; pagenr++) {
|
|
for (pagenr = 0; pagenr < nr_pages; pagenr++) {
|
|
|
struct page *p;
|
|
struct page *p;
|