[Cluster-devel] [PATCH v3 17/19] md: raid1: check if adding pages to resync bio fails

Song Liu song at kernel.org
Thu Apr 20 04:39:44 UTC 2023


On Wed, Apr 19, 2023 at 7:11 AM Johannes Thumshirn <jth at kernel.org> wrote:
>
> From: Johannes Thumshirn <johannes.thumshirn at wdc.com>
>
> Check if adding pages to resync bio fails and if bail out.
>
> As the comment above suggests this cannot happen, WARN if it actually
> happens.
>
> This way we can mark bio_add_pages as __must_check.
>
> Signed-off-by: Johannes Thumshirn <johannes.thumshirn at wdc.com>
> Reviewed-by: Damien Le Moal <damien.lemoal at opensource.wdc.com>

Acked-by: Song Liu <song at kernel.org>

Thanks!



More information about the Cluster-devel mailing list