Hi Christoph, On Mon, Jun 10, 2024 at 11:13 PM Christoph Hellwig <hch@xxxxxx> wrote: > > On Mon, Jun 10, 2024 at 01:58:17PM -0700, Song Liu wrote: > > > raid10 and raid5 also free conf on failure in their ->run handle, > > > but set mddev->private to NULL which prevents the double free as well > > > (but requires more code) > > > > > > Diffstat: > > > raid0.c | 21 +++++---------------- > > > raid1.c | 14 +++----------- > > > 2 files changed, 8 insertions(+), 27 deletions(-) > > > > Thanks for the patchset. I applied it to the md-6.11 branch. > > I was planning to respin this to also handle failures in the takeover > path. How about we do that in a follow up patch? Thanks for fixing these issues! Song