public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix RAID5 + IA64 compile
@ 2006-07-28 14:01 Prarit Bhargava
  2006-07-28 14:01 ` [PATCH 1/2] Fix RAID5 components Prarit Bhargava
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Prarit Bhargava @ 2006-07-28 14:01 UTC (permalink / raw)
  To: linux-ia64, linux-scsi; +Cc: Prarit Bhargava

Patchset to fix RAID5 on ia64.  Removes dead CONFIG options and
introduces a new CONFIG option.

Patch is against 2.6.17 + 2.6.18-rc2-git5

Signed-off-by: Prarit Bhargava <prarit@redhat.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] Fix RAID5 components
  2006-07-28 14:01 [PATCH 0/2] Fix RAID5 + IA64 compile Prarit Bhargava
@ 2006-07-28 14:01 ` Prarit Bhargava
  2006-07-28 14:01 ` [PATCH 2/2] Fix IA64 components Prarit Bhargava
  2006-07-31  9:22 ` [PATCH 0/2] Fix RAID5 + IA64 compile Jes Sorensen
  2 siblings, 0 replies; 4+ messages in thread
From: Prarit Bhargava @ 2006-07-28 14:01 UTC (permalink / raw)
  To: linux-ia64, linux-scsi; +Cc: Prarit Bhargava

Patch to fix export issue with RAID5 + IA64.

	-adds new MD_RAID5_IA64 option (default to "y")
	 that builds IA64 RAID5 components.

This patch should be committed by the MD maintainers.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>

diff -urNp linux-2.6.17.ia64.orig/drivers/md/Kconfig linux-2.6.17.ia64/drivers/md/Kconfig
--- linux-2.6.17.ia64.orig/drivers/md/Kconfig	2006-07-27 09:20:03.000000000 -0400
+++ linux-2.6.17.ia64/drivers/md/Kconfig	2006-07-27 14:55:15.000000000 -0400
@@ -135,6 +135,13 @@ config MD_RAID456
 
 	  If unsure, say Y.
 
+config MD_RAID5_IA64
+	bool "RAID 5 support for IA64"
+	depends on MD_RAID456 && IA64
+	default y
+	---help---
+	Say "Y" if you plan on using RAID5 in IA64
+
 config MD_RAID5_RESHAPE
 	bool "Support adding drives to a raid-5 array (experimental)"
 	depends on MD_RAID456 && EXPERIMENTAL

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] Fix IA64 components
  2006-07-28 14:01 [PATCH 0/2] Fix RAID5 + IA64 compile Prarit Bhargava
  2006-07-28 14:01 ` [PATCH 1/2] Fix RAID5 components Prarit Bhargava
@ 2006-07-28 14:01 ` Prarit Bhargava
  2006-07-31  9:22 ` [PATCH 0/2] Fix RAID5 + IA64 compile Jes Sorensen
  2 siblings, 0 replies; 4+ messages in thread
From: Prarit Bhargava @ 2006-07-28 14:01 UTC (permalink / raw)
  To: linux-ia64, linux-scsi; +Cc: Prarit Bhargava

Patch to fix export issue with RAID5 + IA64.

	-removes dead CONFIG options

This patch should be committed by the IA64 maintainer.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>

diff -urNp linux-2.6.17.ia64.orig/arch/ia64/kernel/ia64_ksyms.c linux-2.6.17.ia64/arch/ia64/kernel/ia64_ksyms.c
--- linux-2.6.17.ia64.orig/arch/ia64/kernel/ia64_ksyms.c	2006-07-27 09:20:01.000000000 -0400
+++ linux-2.6.17.ia64/arch/ia64/kernel/ia64_ksyms.c	2006-07-27 14:51:42.000000000 -0400
@@ -67,7 +68,7 @@ EXPORT_SYMBOL(__udivdi3);
 EXPORT_SYMBOL(__moddi3);
 EXPORT_SYMBOL(__umoddi3);
 
-#if defined(CONFIG_MD_RAID5) || defined(CONFIG_MD_RAID5_MODULE)
+#ifdef CONFIG_MD_RAID5_IA64
 extern void xor_ia64_2(void);
 extern void xor_ia64_3(void);
 extern void xor_ia64_4(void);
diff -urNp linux-2.6.17.ia64.orig/arch/ia64/lib/Makefile linux-2.6.17.ia64/arch/ia64/lib/Makefile
--- linux-2.6.17.ia64.orig/arch/ia64/lib/Makefile	2006-07-27 09:20:01.000000000 -0400
+++ linux-2.6.17.ia64/arch/ia64/lib/Makefile	2006-07-27 14:51:19.000000000 -0400
@@ -14,7 +14,7 @@ lib-y := __divsi3.o __udivsi3.o __modsi3
 lib-$(CONFIG_ITANIUM)	+= copy_page.o copy_user.o memcpy.o
 lib-$(CONFIG_MCKINLEY)	+= copy_page_mck.o memcpy_mck.o
 lib-$(CONFIG_PERFMON)	+= carta_random.o
-lib-$(CONFIG_MD_RAID5)	+= xor.o
+lib-$(CONFIG_MD_RAID5_IA64)	+= xor.o
 
 AFLAGS___divdi3.o	=
 AFLAGS___udivdi3.o	= -DUNSIGNED

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] Fix RAID5 + IA64 compile
  2006-07-28 14:01 [PATCH 0/2] Fix RAID5 + IA64 compile Prarit Bhargava
  2006-07-28 14:01 ` [PATCH 1/2] Fix RAID5 components Prarit Bhargava
  2006-07-28 14:01 ` [PATCH 2/2] Fix IA64 components Prarit Bhargava
@ 2006-07-31  9:22 ` Jes Sorensen
  2 siblings, 0 replies; 4+ messages in thread
From: Jes Sorensen @ 2006-07-31  9:22 UTC (permalink / raw)
  To: Prarit Bhargava; +Cc: linux-ia64, linux-scsi

>>>>> "Prarit" == Prarit Bhargava <prarit@sgi.com> writes:

Prarit> Patchset to fix RAID5 on ia64.  Removes dead CONFIG options
Prarit> and introduces a new CONFIG option.

Prarit,

Looking through that patch, why introduce a new CONFIG_ option when it
can all be deducted from CONFIG_MDRAID456 and CONFIG_ia64?

Cheers,
Jes

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-07-31  9:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-28 14:01 [PATCH 0/2] Fix RAID5 + IA64 compile Prarit Bhargava
2006-07-28 14:01 ` [PATCH 1/2] Fix RAID5 components Prarit Bhargava
2006-07-28 14:01 ` [PATCH 2/2] Fix IA64 components Prarit Bhargava
2006-07-31  9:22 ` [PATCH 0/2] Fix RAID5 + IA64 compile Jes Sorensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox