[v3,0/4] raid10 bugfix

Message ID 20230527072218.2365857-1-linan666@huaweicloud.com
Headers
Series raid10 bugfix |

Message

Li Nan May 27, 2023, 7:22 a.m. UTC
  From: Li Nan <linan122@huawei.com>

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(-)