[libmultipath] load default hwtable entries not overriden by configlets
authorroot <root@xa-s05.(none)>
Wed, 21 Sep 2005 21:04:37 +0000 (23:04 +0200)
committerroot <root@xa-s05.(none)>
Wed, 21 Sep 2005 21:04:37 +0000 (23:04 +0200)
commit787f7990afdab0e8c41685763e4fe3ebc0e999ab
treeed52aee1449ed5658e67bff42957bdc5a0733579
parent01ab362ff21b7a7a6ba904f93ab28b8bde59278d
[libmultipath] load default hwtable entries not overriden by configlets

Rationale from Edward Goggin, EMC :

"
I'm wondering why when I put "device {}" entries in the multipath conf file
I
lose all of the other entries setup in the libmultipath/hwtable.c file.
Devices
which do not match the vendor and model strings of the device entries I
setup in the conf file are all forced to pick up default multipath
attributes.

This approach forces me to know the attributes for all vendor/model device
types in my SAN configuration whenever I want to setup even a small change
in the device attributes for a single device type.

I would rather see the that the entries that are setup in the conf file
simply
override the ones setup in the hwtable.c file.  Yet, entries already setup
in
the hwtable.c file which are not overridden remain valid.  The only devices
which pick up defaults are ones for which there is not a device entry in
either the libmultipath/hwtable.c file or the multipath conf file.
"
libmultipath/config.c