Skip to contentSkip to conversation

dm-mpath: dynamic load balancers (v1)

PATCH New Kiyoshi Ueda 1 participant 1 message Mar 18, 2009 Device mapper

lore
Share & tools
lore
#0 lore raw

cover dm-mpath: dynamic load balancers (v1)

Hi,

The patch-set adds the following 2 dynamic load balancers:
o dm-queue-length: queue-length oriented dynamic load balancer
o dm-service-time: service-time oriented dynamic load balancer

This patch-set can be applied on top of 2.6.29-rc8. No dependencies on Alasdair's linux-next patches.

NOTE:
While the patches compile and work with the current bio-based dm, for them to *properly* work, the request-based dm patches should be applied, too.
See <http://lkml.org/lkml/2008/9/12/100> for why request-based dm improves multipath load balancing.

Summary of the patch-set:
1/3: dm-mpath: interface change for dynamic load balancers 2/3: dm-mpath: add queue-length oriented dynamic load balancer 3/3: dm-mpath: add service-time oriented dynamic load balancer

 drivers/md/Kconfig            |   18 ++
 drivers/md/Makefile           |    2 
 drivers/md/dm-mpath.c         |   28 ++-
 drivers/md/dm-path-selector.h |    8 -
 drivers/md/dm-queue-length.c  |  257 +++++++++++++++++++++++++++++++++++
 drivers/md/dm-round-robin.c   |    2 
 drivers/md/dm-service-time.c  |  301 ++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 603 insertions(+), 13 deletions(-)

Thanks,
Kiyoshi Ueda