Re: [PATCH 0/2] Raid5 Bug Fixes

From: Song Liu
Date: Fri Jul 08 2022 - 01:46:00 EST


On Thu, Jul 7, 2022 at 12:15 PM Logan Gunthorpe <logang@xxxxxxxxxxxx> wrote:
>
> Hey,
>
> Please find two patches with fixes to the raid5 code.
>
> The first patch fixes a bug in my recent commit that causes data
> corruption in very specific circumstances.
>
> The second patch fixes a theoretical issue with nested waits in
> code that was recently cleaned up in the previous series (though the
> issue always existed).
>
> Thanks,

Applied to md-next after fixing a couple typos.

Thanks!
Song

>
> Logan
>
> --
>
> Logan Gunthorpe (2):
> md/raid5: Fix sectors_to_do bitmap overflow in raid5_make_request()
> md/raid5: Convert prepare_to_wait() to wait_woken() api
>
> drivers/md/raid5.c | 32 +++++++++++++++++---------------
> 1 file changed, 17 insertions(+), 15 deletions(-)
>
>
> base-commit: ff4ec5f79108cf82fe7168547c76fe754c4ade0a
> --
> 2.30.2