mbox series

[0/2] Raid5 Bug Fixes

Message ID 20220707191533.293795-1-logang@deltatee.com (mailing list archive)
Headers show
Series Raid5 Bug Fixes | expand

Message

Logan Gunthorpe July 7, 2022, 7:15 p.m. UTC
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,

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

Comments

Song Liu July 8, 2022, 5:45 a.m. UTC | #1
On Thu, Jul 7, 2022 at 12:15 PM Logan Gunthorpe <logang@deltatee.com> 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