Update multipath.conf.defaults

the defaults.multipath_dir default value is set upon make, so
it may differ on different systems. Best discard it from the
multipath.conf.defaults.

Reported by Xose Vazquez Perez <xose.vazquez@gmail.com>
Fixup .gitignore

Only exclude the binaries, not the entire directories ...
And the nfs link, too.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Check for !SUSPENDED in kpartx rules

Read-only devices appear as DM_STATE=READONLY, so we should
invert the check in kpartx rules to have kpartx run on
readonly devices, too.

Signed-off-by: Hannes Reinecke <hare@suse.de>
kpartx.rules: Check for accessible device-mapper device

We need to check for accessible device-mapper devices
right at the start, otherwise kpartx would be run on
inactive devices.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Correct persistent symlink for cciss

cciss devices have the prefix 'cciss', so we should generate the
correct one from kpartx_id, too.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Add hardware entry for Intel Multi-Flex

Signed-off-by: Hannes Reinecke <hare@suse.de>
Add Datacore SANSymphony to hwtable

Signed-off-by: Hannes Reinecke <hare@suse.de>
Add SUN STK6580 to hardware table

Signed-off-by: Hannes Reinecke <hare@suse.de>
Remove unused structures

structs scsi_dev and scsi_idlun are unused.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Use transport identifiers when detecting devices

This patch stores the transport identifiers, allowing
for a simplified dev_loss_tmo setting.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Discover target ids for ATA

libata devices now have a separate sysfs entry, so we should be
discovering them properly, too.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Set recovery_tmo for iSCSI devices

iSCSI has a 'recovery_tmo' value, which works similar to the
'fast_io_fail' mechanism on FibreChannel.
So we should be setting it from multipath, too.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Set I_T_nexus_loss_timeout on SAS devices

Some SAS driver have an I_T_nexus_loss setting, which works
similar to the 'dev_loss_tmo' setting on FibreChannel.
So update it with the current values, too.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Rename variables in sysfs_get_tgt_nodename

For consistency.

Signed-off-by: Hannes Reinecke <hare@suse.de>
multipath.conf.defaults update

Add defaults for SUN STK6580, DataCore SANmelody and Intel
Multi-Flex