From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC3EAC4332F for ; Wed, 12 Oct 2022 10:59:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229627AbiJLK7C (ORCPT ); Wed, 12 Oct 2022 06:59:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbiJLK7A (ORCPT ); Wed, 12 Oct 2022 06:59:00 -0400 Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77A84B6007 for ; Wed, 12 Oct 2022 03:58:59 -0700 (PDT) Subject: Re: Memory leak when raid10 takeover raid0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1665572337; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZwN6ckNoy8yHrzUuqImL71Xuja/zCoMe+2N49p8onH0=; b=R5U57RANVIQo0AcvHVVO10vKL8+CBso6pn6ycGwzHCyVqDQ+Dkpl08s8nuqHqtB1+21A5o KUf3nMxbj5SWgTkYvN25uCBxGWppncNfEP+JRJ5tKvk0JVt6CPDLBgW0gXc900Rre99vIk Kl0dBwp595glNSIQ4LWFAcXzt8yp60I= To: Xiao Ni Cc: linux-raid , Song Liu References: <35f4a626-7f83-56c5-4cad-73ede197ccbf@linux.dev> <861e6a43-40f6-a214-a72b-f641f9b6bc29@linux.dev> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Guoqing Jiang Message-ID: Date: Wed, 12 Oct 2022 18:58:57 +0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-raid@vger.kernel.org On 10/11/22 11:49 PM, Xiao Ni wrote: >> I finally reproduced it with 6.0 kernel, and It is a NULL dereference. > That's cool. Could you share the steps? Do the two things simultaneously. 1. write to raid0 2. echo raid10 > /sys/block/md/mdx/level Thanks, Guoqing