Alternate routing algorithims for md/multipath

From: Brian Beattie (alchemy@us.ibm.com)
Date: Wed Nov 07 2001 - 14:27:26 EST


I have been working on adding some features to the md/multipath module.
At this point what I have is probably more a starting point for
discussion, than a true prototype.

Changes:

Add two new fields to the personality information in the superblock, to
specify the routing algorithm and a parameter (if needed).

Change Superblock version number to 91.

Add support for new superblock to raidtools

Add support for /proc/sys/dev and sysctl for simple monitoring and
control of md/multipath.

Add support for alternative routing algorithms.

Change name of function multipath_read_balance to multipath_path_select
because the function has nothing to do with "read balanceing".

Add simple round robin routing.

----

I am including four patches. The first is a small bug fix. The second adds some simple support for /proc/sys and sysctl for monitoring and control of md/multipath. The third adds support for /proc/sys. The last adds support for alternative routing algorithms and round robin routing.

As was pointed out, this round robin scheme will probably have pretty poor performance and is really only done as an example. I have not yet done any performance measurements, but plan to do so next week after I get back from ALS. I will be looking at ways to do round robin routing in a way that performs well.

I would like to hear any comments or suggestions people might have.





- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 07 2001 - 21:00:36 EST