[dm-devel] [PATCH RFC 1/5] add support for manual failover devices

Mike Christie michaelc at cs.wisc.edu
Tue Apr 6 10:23:45 UTC 2004


01-ps-failpath.patch - move the path failure decision to the path
selector. Some ps's may want to select paths that have a couple
failures over one that has N failures. If a ps has to track this info
there didn't seem to be a compelling reason to also do it in
dm-mpath.c. Well code duplication and sharing is a good reason to do
it at dm-mpath. It would be nice if I could just add an init function
to any ps and leach off other people's work :) but is that too modular?

Additionally, if a ps fails to activate a path or cannot use it
during initialization it may want to fail it.

diffstat
  dm-mpath.c         |   71 ++++++++++++-----------------------------------------
  dm-path-selector.c |   50 +++++++++++++++++++++++++++++--------
  dm-path-selector.h |    8 ++---
  3 files changed, 61 insertions(+), 68 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 01-ps-failpath.patch
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20040406/922953cd/attachment.ksh>


More information about the dm-devel mailing list