From: Linus Torvalds on
On Mon, Aug 9, 2010 at 5:14 PM, Neil Brown <neilb(a)suse.de> wrote:
>
> �create mode 100644 lib/raid6/Makefile
> �rename {drivers/md => lib/raid6}/mktables.c (100%)
> �rename {drivers/md => lib/raid6}/raid6algos.c (100%)
> �rename {drivers/md => lib/raid6}/raid6altivec.uc (100%)
> �rename {drivers/md => lib/raid6}/raid6int.uc (100%)
> �rename {drivers/md => lib/raid6}/raid6mmx.c (100%)
> �rename {drivers/md => lib/raid6}/raid6recov.c (100%)
> �rename {drivers/md => lib/raid6}/raid6sse1.c (100%)
> �rename {drivers/md => lib/raid6}/raid6sse2.c (100%)
> �rename {drivers/md => lib/raid6}/raid6test/Makefile (100%)
> �rename {drivers/md => lib/raid6}/raid6test/test.c (100%)
> �rename {drivers/md => lib/raid6}/raid6x86.h (100%)
> �rename {drivers/md => lib/raid6}/unroll.awk (100%)

Hmm. Why "lib/raid6/raid6sse2.c" and friends? Why "raid6" twice? You
don't mean "raid6+1" (mirrored raid6 ;), so why not just remove the
second "raid6", and call it "lib/raid6/sse2.c"

But I pulled. Just in case there was some logic to the duplication.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: David Woodhouse on
On Tue, 2010-08-10 at 15:47 -0700, Linus Torvalds wrote:
>
> Hmm. Why "lib/raid6/raid6sse2.c" and friends? Why "raid6" twice? You
> don't mean "raid6+1" (mirrored raid6 ;), so why not just remove the
> second "raid6", and call it "lib/raid6/sse2.c"
>
> But I pulled. Just in case there was some logic to the duplication.

No particular reason -- I just wanted the initial move to be as simple
as possible. Since it all gets built into raid6_pq.ko and we never see
these filenames even in module names, it does make sense to rename them.

If Neil approves, git://git.infradead.org/~dwmw2/libraid-2.6.git

The userspace test/ (neé raid6test/) directory doesn't build, but it
didn't before. At least I fixed the awk incantations.

--
David Woodhouse Open Source Technology Centre
David.Woodhouse(a)intel.com Intel Corporation

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Neil Brown on
On Wed, 11 Aug 2010 00:23:31 +0100
David Woodhouse <dwmw2(a)infradead.org> wrote:

> On Tue, 2010-08-10 at 15:47 -0700, Linus Torvalds wrote:
> >
> > Hmm. Why "lib/raid6/raid6sse2.c" and friends? Why "raid6" twice? You
> > don't mean "raid6+1" (mirrored raid6 ;), so why not just remove the
> > second "raid6", and call it "lib/raid6/sse2.c"
> >
> > But I pulled. Just in case there was some logic to the duplication.
>
> No particular reason -- I just wanted the initial move to be as simple
> as possible. Since it all gets built into raid6_pq.ko and we never see
> these filenames even in module names, it does make sense to rename them.
>
> If Neil approves, git://git.infradead.org/~dwmw2/libraid-2.6.git

Looks good,thanks. There are a few comments still say "raid6xxx.c" and there
is a .h file (raid6x86.h) which you didn't rename but probably should be.

I've added a patch to clean these up.

>
> The userspace test/ (neé raid6test/) directory doesn't build, but it
> didn't before. At least I fixed the awk incantations.
>
Yep, there is some bit rot in there. Fixed that too.

Linus, you can get all this from
git://neil.brown.name/md for-linus

Thanks.

The following changes since commit 3d30701b58970425e1d45994d6cb82f828924fdd:

Merge branch 'for-linus' of git://neil.brown.name/md (2010-08-10 15:38:19 -0700)

are available in the git repository at:

git://neil.brown.name/md for-linus

David Woodhouse (1):
Rename raid6 files now they're in a 'raid6' directory.

NeilBrown (2):
Make lib/raid6/test build correctly.
Further tidyup of raid6 naming in lib/raid6

include/linux/raid/pq.h | 2 +
lib/raid6/Makefile | 81 ++++++++++++++---------------
lib/raid6/{raid6algos.c => algos.c} | 4 +-
lib/raid6/{raid6altivec.uc => altivec.uc} | 0
lib/raid6/{raid6int.uc => int.uc} | 0
lib/raid6/{raid6mmx.c => mmx.c} | 6 +-
lib/raid6/raid6test/Makefile | 75 --------------------------
lib/raid6/{raid6recov.c => recov.c} | 2 +-
lib/raid6/{raid6sse1.c => sse1.c} | 6 +-
lib/raid6/{raid6sse2.c => sse2.c} | 4 +-
lib/raid6/test/Makefile | 72 +++++++++++++++++++++++++
lib/raid6/{raid6test => test}/test.c | 0
lib/raid6/{raid6x86.h => x86.h} | 2 +-
13 files changed, 125 insertions(+), 129 deletions(-)
rename lib/raid6/{raid6algos.c => algos.c} (99%)
rename lib/raid6/{raid6altivec.uc => altivec.uc} (100%)
rename lib/raid6/{raid6int.uc => int.uc} (100%)
rename lib/raid6/{raid6mmx.c => mmx.c} (98%)
delete mode 100644 lib/raid6/raid6test/Makefile
rename lib/raid6/{raid6recov.c => recov.c} (99%)
rename lib/raid6/{raid6sse1.c => sse1.c} (98%)
rename lib/raid6/{raid6sse2.c => sse2.c} (99%)
create mode 100644 lib/raid6/test/Makefile
rename lib/raid6/{raid6test => test}/test.c (100%)
rename lib/raid6/{raid6x86.h => x86.h} (99%)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/