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

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

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

Revision 520 Revision 534
33 cmd_unroll = $(PERL) $(srctree)/$(src)/unroll.pl $(UNROLL) \ 33 cmd_unroll = $(PERL) $(srctree)/$(src)/unroll.pl $(UNROLL) \
34Index: linux-git/drivers/md/dm-bbr.c 34Index: linux-git/drivers/md/dm-bbr.c
35=================================================================== 35===================================================================
36--- /dev/null 36--- /dev/null
37+++ linux-git/drivers/md/dm-bbr.c 37+++ linux-git/drivers/md/dm-bbr.c
38@@ -0,0 +1,1003 @@ 38@@ -0,0 +1,1004 @@
39+/* 39+/*
40+ * (C) Copyright IBM Corp. 2002, 2004 40+ * (C) Copyright IBM Corp. 2002, 2004
41+ * 41+ *
42+ * This program is free software; you can redistribute it and/or modify 42+ * This program is free software; you can redistribute it and/or modify
43+ * it under the terms of the GNU General Public License as published by 43+ * it under the terms of the GNU General Public License as published by
76+#include "dm-bio-list.h" 76+#include "dm-bio-list.h"
77+#include "dm-bio-record.h" 77+#include "dm-bio-record.h"
78+#include "dm-bbr.h" 78+#include "dm-bbr.h"
79+#include "dm-io.h" 79+#include "dm-io.h"
80+ 80+
81+#define DM_MSG_PREFIX "bbr"
81+#define SECTOR_SIZE (1 << SECTOR_SHIFT) 82+#define SECTOR_SIZE (1 << SECTOR_SHIFT)
82+ 83+
83+static struct workqueue_struct *dm_bbr_wq = NULL; 84+static struct workqueue_struct *dm_bbr_wq = NULL;
84+static void bbr_remap_handler(void *data); 85+static void bbr_remap_handler(void *data);
85+static kmem_cache_t *bbr_remap_cache; 86+static kmem_cache_t *bbr_remap_cache;

Legend:
Removed from v.520  
changed lines
  Added in v.534

  ViewVC Help
Powered by ViewVC 1.1.20