Re: [PATCH -next v3 3/7] md/raid1-10: factor out a helper to submit normal write

From: Yu Kuai
Date: Wed May 31 2023 - 03:57:54 EST


Hi,

在 2023/05/31 15:20, Xiao Ni 写道:
@@ -110,6 +110,23 @@ static void md_bio_reset_resync_pages(struct bio *bio, struct resync_pages *rp,
} while (idx++ < RESYNC_PAGES && size > 0);
}

+
+static inline void raid1_submit_write(struct bio *bio)

Hi Kuai

Is it better to change the name to rdev_submit_write? It's just a
suggestion. The patch looks good to me.

Yes, this sounds like a better name.

Thanks,
Kuai

Regards
Xiao