From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B3161155326; Sat, 28 Feb 2026 04:35:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772253327; cv=none; b=ZEvwRuLFawSSqNl52ClS3MzjQ5csyQiRVrzHO7Uz6IPAPIrFnBAjR9by3oP+a1maHE6Pro8Bu5OAjuA21/GQQxzTJl/Mmp4MIU08dtmOxic/AymIRORAMogirB32gqzY0nn1Y55FP6ey6bqPuQn7LXSIugQnBdKYGVvsto7laZ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772253327; c=relaxed/simple; bh=7zmaVKtAh2Ji/dO9zQKMopZe2cxR3kulm8/sTdUvOcA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UXsB5Rbtl8PBt3AlmxENqyUrCGXrcl5iE9DLewYkp9RxO5RrWf80NCuM6S1q06Ntc+tpesUqJ04WA+yzAmV7s30pbQNQMkYDl4bQqolTBLxkRtrck0w6/k+54TtKCW2/TE1YOhlzHswSwIV/8S2jCscPioLFLvCgSQ3Ze4m5dwA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jvLMWT5Q; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jvLMWT5Q" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69FD3C116D0; Sat, 28 Feb 2026 04:35:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772253327; bh=7zmaVKtAh2Ji/dO9zQKMopZe2cxR3kulm8/sTdUvOcA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jvLMWT5QPfWf5fqwCu0b6jyf1JkY8VhTv+hzjbPZJIShl575Kc/hb2XB6K7qkymfN qwBqh029UG4QDt1k4o+yWv6HUuKWpWsplNNhaICJZz2k0ORPmJLnhkHAyONmX7M+TQ zDX6zjqvLirKpTtriXBUSdvtk9Yk8/30R2kYnR4XhUkO0qR3hMOqza11uJQ08QFz4S oQboCK+Z7P0MYthrxKSIcy3roPsAHLbVtIrOmNmHcNMgysOz0VoIhFow1SEkkuFGuP DaFupym5qTt9eY/XGsZgNFTL4RRcp5VoPtcdKHWNHmTzORlfM9TjONCOU+EFM4pkgz p45HIHdqNKblg== Date: Fri, 27 Feb 2026 20:35:23 -0800 From: Eric Biggers To: Christoph Hellwig Cc: Andrew Morton , Richard Henderson , Matt Turner , Magnus Lindholm , Russell King , Catalin Marinas , Will Deacon , Huacai Chen , WANG Xuerui , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , "David S. Miller" , Andreas Larsson , Richard Weinberger , Anton Ivanov , Johannes Berg , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Herbert Xu , Dan Williams , Chris Mason , David Sterba , Arnd Bergmann , Song Liu , Yu Kuai , Li Nan , linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, loongarch@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, linux-crypto@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-arch@vger.kernel.org, linux-raid@vger.kernel.org Subject: Re: [PATCH 04/25] xor: move to lib/raid/ Message-ID: <20260228043523.GB65277@quark> References: <20260226151106.144735-1-hch@lst.de> <20260226151106.144735-5-hch@lst.de> Precedence: bulk X-Mailing-List: linux-btrfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260226151106.144735-5-hch@lst.de> On Thu, Feb 26, 2026 at 07:10:16AM -0800, Christoph Hellwig wrote: > diff --git a/lib/Kconfig b/lib/Kconfig > index 0f2fb9610647..5be57adcd454 100644 > --- a/lib/Kconfig > +++ b/lib/Kconfig > @@ -138,6 +138,7 @@ config TRACE_MMIO_ACCESS > > source "lib/crc/Kconfig" > source "lib/crypto/Kconfig" > +source "lib/raid/Kconfig" This adds lib/raid/ alongside the existing lib/raid6/ directory. Is that the intended final state, or is the intent for the code in lib/raid6/ to eventually be moved to a subdirectory of lib/raid/ (alongside the "xor" subdirectory)? > diff --git a/lib/raid/Kconfig b/lib/raid/Kconfig > new file mode 100644 > index 000000000000..4b720f3454a2 > --- /dev/null > +++ b/lib/raid/Kconfig > @@ -0,0 +1,3 @@ > + > +config XOR_BLOCKS > + tristate > diff --git a/lib/raid/Makefile b/lib/raid/Makefile > new file mode 100644 > index 000000000000..382f2d1694bd > --- /dev/null > +++ b/lib/raid/Makefile > @@ -0,0 +1,2 @@ > + > +obj-y += xor/ Probably should add an SPDX-License-Identifier to these new files. - Eric