diff options
author | Kiyoshi Ueda <k-ueda@ct.jp.nec.com> | 2009-06-22 05:12:28 -0400 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2009-06-22 05:12:28 -0400 |
commit | f392ba889b019602976082bfe7bf486c2594f85c (patch) | |
tree | 962e8f354dfe3df2021476412be8d1bcec8a03d0 /drivers/md/Kconfig | |
parent | fd5e033908b7b743b5650790f196761dd930f988 (diff) |
dm mpath: add service time load balancer
This patch adds a service time oriented dynamic load balancer,
dm-service-time, which selects the path with the shortest estimated
service time for the incoming I/O.
The service time is estimated by dividing the in-flight I/O size
by a performance value of each path.
The performance value can be given as a table argument at the table
loading time. If no performance value is given, all paths are
considered equal.
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/Kconfig')
-rw-r--r-- | drivers/md/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig index 3b311d273346..09f93fa68912 100644 --- a/drivers/md/Kconfig +++ b/drivers/md/Kconfig | |||
@@ -258,6 +258,16 @@ config DM_MULTIPATH_QL | |||
258 | 258 | ||
259 | If unsure, say N. | 259 | If unsure, say N. |
260 | 260 | ||
261 | config DM_MULTIPATH_ST | ||
262 | tristate "I/O Path Selector based on the service time" | ||
263 | depends on DM_MULTIPATH | ||
264 | ---help--- | ||
265 | This path selector is a dynamic load balancer which selects | ||
266 | the path expected to complete the incoming I/O in the shortest | ||
267 | time. | ||
268 | |||
269 | If unsure, say N. | ||
270 | |||
261 | config DM_DELAY | 271 | config DM_DELAY |
262 | tristate "I/O delaying target (EXPERIMENTAL)" | 272 | tristate "I/O delaying target (EXPERIMENTAL)" |
263 | depends on BLK_DEV_DM && EXPERIMENTAL | 273 | depends on BLK_DEV_DM && EXPERIMENTAL |