[dm-devel] [PATCH v6 15/20] md: raid1: check if adding pages to resync bio fails

Song Liu song at kernel.org
Wed May 31 04:58:19 UTC 2023


On Tue, May 30, 2023 at 9:25 PM Christoph Hellwig <hch at lst.de> wrote:
>
> To me these look like __bio_add_page candidates, but I guess Song
> preferred it this way?  It'll add a bit pointless boilerplate code,
> but I'm ok with that.

We had some discussion on this in v2, and decided to keep these
assert-like WARN_ON().

Thanks,
Song



More information about the dm-devel mailing list