[dm-devel] [PATCH] 5/9: Add pointer from priority-group to multipath
Kevin Corry
kevcorry at us.ibm.com
Tue Jan 13 16:59:01 UTC 2004
Add a pointer from the priority-group back to the multipath context.
--- diff/drivers/md/dm-mpath.c 2004-01-13 15:12:29.000000000 -0600
+++ source/drivers/md/dm-mpath.c 2004-01-13 15:12:18.000000000 -0600
@@ -41,6 +41,7 @@
struct list_head list;
unsigned priority;
+ struct multipath *m;
struct path_selector *ps;
struct list_head valid_paths;
struct list_head invalid_paths;
@@ -497,6 +498,7 @@
break;
list_add_tail(&pg->list, &tmp->list);
+ pg->m = m;
/* FIXME: remove debug later */
__check_ordered(&m->priority_groups);
More information about the dm-devel
mailing list