Re: [PATCH v2 6/7] md/raid1: Handle bio_split() errors

From: John Garry
Date: Tue Oct 29 2024 - 08:21:58 EST


On 29/10/2024 12:12, Yu Kuai wrote:
+err_handle:
+    bio->bi_status = errno_to_blk_status(error);
+    set_bit(R1BIO_Uptodate, &r1_bio->state);
+    raid_end_bio_io(r1_bio);

rdev_dec_pending() is missed here. 🙂

ok, I will fix. I am not sure sure how I missed this...

And I will drop your RB tag.

Cheers!