/[linux-patches]/genpatches-2.6/trunk/2.6.19/4105_dm-bbr.patch
Gentoo

Diff of /genpatches-2.6/trunk/2.6.19/4105_dm-bbr.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 662 Revision 665
1Index: linux-2.6.18/drivers/md/Kconfig 1Index: linux-2.6.19/drivers/md/Kconfig
2=================================================================== 2===================================================================
3--- linux-2.6.18.orig/drivers/md/Kconfig 3--- linux-2.6.19.orig/drivers/md/Kconfig
4+++ linux-2.6.18/drivers/md/Kconfig 4+++ linux-2.6.19/drivers/md/Kconfig
5@@ -249,5 +249,16 @@ config DM_MULTIPATH_EMC 5@@ -261,6 +261,17 @@ config DM_MULTIPATH_EMC
6 ---help--- 6 ---help---
7 Multipath support for EMC CX/AX series hardware. 7 Multipath support for EMC CX/AX series hardware.
8 8
9+config BLK_DEV_DM_BBR 9+config BLK_DEV_DM_BBR
10+ tristate "Bad Block Relocation Device Target (EXPERIMENTAL)" 10+ tristate "Bad Block Relocation Device Target (EXPERIMENTAL)"
17+ 17+
18+ If unsure, say N. 18+ If unsure, say N.
19+ 19+
20 endmenu 20 endmenu
21 21
22 endif
22Index: linux-2.6.18/drivers/md/Makefile 23Index: linux-2.6.19/drivers/md/Makefile
23=================================================================== 24===================================================================
24--- linux-2.6.18.orig/drivers/md/Makefile 25--- linux-2.6.19.orig/drivers/md/Makefile
25+++ linux-2.6.18/drivers/md/Makefile 26+++ linux-2.6.19/drivers/md/Makefile
26@@ -36,6 +36,7 @@ obj-$(CONFIG_DM_MULTIPATH_EMC) += dm-emc 27@@ -36,6 +36,7 @@ obj-$(CONFIG_DM_MULTIPATH_EMC) += dm-emc
27 obj-$(CONFIG_DM_SNAPSHOT) += dm-snapshot.o 28 obj-$(CONFIG_DM_SNAPSHOT) += dm-snapshot.o
28 obj-$(CONFIG_DM_MIRROR) += dm-mirror.o 29 obj-$(CONFIG_DM_MIRROR) += dm-mirror.o
29 obj-$(CONFIG_DM_ZERO) += dm-zero.o 30 obj-$(CONFIG_DM_ZERO) += dm-zero.o
30+obj-$(CONFIG_BLK_DEV_DM_BBR) += dm-bbr.o 31+obj-$(CONFIG_BLK_DEV_DM_BBR) += dm-bbr.o
31 32
32 quiet_cmd_unroll = UNROLL $@ 33 quiet_cmd_unroll = UNROLL $@
33 cmd_unroll = $(PERL) $(srctree)/$(src)/unroll.pl $(UNROLL) \ 34 cmd_unroll = $(PERL) $(srctree)/$(src)/unroll.pl $(UNROLL) \
34Index: linux-2.6.18/drivers/md/dm-bbr.c 35Index: linux-2.6.19/drivers/md/dm-bbr.c
35=================================================================== 36===================================================================
36--- /dev/null 37--- /dev/null
37+++ linux-2.6.18/drivers/md/dm-bbr.c 38+++ linux-2.6.19/drivers/md/dm-bbr.c
38@@ -0,0 +1,1004 @@ 39@@ -0,0 +1,1004 @@
39+/* 40+/*
40+ * (C) Copyright IBM Corp. 2002, 2004 41+ * (C) Copyright IBM Corp. 2002, 2004
41+ * 42+ *
42+ * This program is free software; you can redistribute it and/or modify 43+ * This program is free software; you can redistribute it and/or modify
1038+} 1039+}
1039+ 1040+
1040+module_init(dm_bbr_init); 1041+module_init(dm_bbr_init);
1041+module_exit(dm_bbr_exit); 1042+module_exit(dm_bbr_exit);
1042+MODULE_LICENSE("GPL"); 1043+MODULE_LICENSE("GPL");
1043Index: linux-2.6.18/drivers/md/dm-bbr.h 1044Index: linux-2.6.19/drivers/md/dm-bbr.h
1044=================================================================== 1045===================================================================
1045--- /dev/null 1046--- /dev/null
1046+++ linux-2.6.18/drivers/md/dm-bbr.h 1047+++ linux-2.6.19/drivers/md/dm-bbr.h
1047@@ -0,0 +1,125 @@ 1048@@ -0,0 +1,125 @@
1048+/* 1049+/*
1049+ * (C) Copyright IBM Corp. 2002, 2004 1050+ * (C) Copyright IBM Corp. 2002, 2004
1050+ * 1051+ *
1051+ * This program is free software; you can redistribute it and/or modify 1052+ * This program is free software; you can redistribute it and/or modify

Legend:
Removed from v.662  
changed lines
  Added in v.665

  ViewVC Help
Powered by ViewVC 1.1.20