[PATCH v3 0/4] raid10 bugfix

From: linan666
Date: Sat May 27 2023 - 03:41:52 EST


From: Li Nan <linan122@xxxxxxxxxx>

Changes in v3:
- in patch 1, change check 'mreplace != NULL' to 'mreplace', improve log.
- in patch 2, change check 'mrdev != NULL' to 'mrdev'.

Changes in v2:
- add patch "md/raid10: improve code of mrdev in raid10_sync_request".
- in patch 3, break lines longer than 80 columns and improve log.

Li Nan (4):
md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request
md/raid10: improve code of mrdev in raid10_sync_request
md/raid10: fix incorrect done of recovery
md/raid10: fix io loss while replacement replace rdev

drivers/md/raid10.c | 75 ++++++++++++++++++++++++++++++---------------
1 file changed, 51 insertions(+), 24 deletions(-)

--
2.31.1