• Hannes Reinecke's avatar
    dm mpath: change attached scsi_dh · a0cf7ea9
    Hannes Reinecke authored
    When specifying a different hardware handler via multipath
    features we should be able to override the built-in defaults.
    
    The problem here is the hardware table from scsi_dh is compiled
    in and cannot be changed from userland. The multipath.conf OTOH
    is purely user-defined and, what's more, the user might have a valid
    reason for modifying it.
    (EG EMC Clariion can well be run in PNR mode even though ALUA is
    active, or the user might want to try ALUA on any as-of-yet unknown
    devices)
    
    So _not_ allowing multipath to override the device handler setting
    will just add to the confusion and makes error tracking even more
    difficult.
    Signed-off-by: default avatarHannes Reinecke <hare@suse.de>
    Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
    a0cf7ea9
dm-mpath.c 34.1 KB