Skip to contentSkip to conversation

scsi_dh framework update take #2

PATCH In review Hannes Reinecke 2 participants 2 messages May 20, 2008 – May 23, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover scsi_dh framework update take #2

Hi James,

this is the second repost of my patchset to update the scsi_dh infrastructure. It includes the comments by Chandra.

It's based on the current scsi-misc tree.

Main features of the patchset are:
- Use a single callback for the notifier chain
- Merge all device maps into a single list, which will be scanned by a generic function
- Add a sysfs attribute 'dh_state' for each sdev
- Add a generic SPC-3 ALUA device handler
- Update device handlers to check if the device actually supports this handler. When attaching manually we are able to attach to basically any device, so we have to make sure that the device handler is actually supported.
- Manually attach a device when a hardware handler is specified; this allows multipath to override the built-in hardware table.
- Update dm-multipath to explicitly attach to the specified device handler. This allows overriding of the built-in table by the multipath values.

As per usual, comment etc are welcome.

Cheers,

Hannes

Signature · 8 lines
Dr. Hannes Reinecke		      zSeries & Storage
[email protected]			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw

Hi Hannes,

I looked at the patches except 3, 4 and 5 (as I don't have context knowledge).

Thanks,

chandra

Quoted 31 lines · Hannes Reinecke

Hi James,

this is the second repost of my patchset to update the scsi_dh infrastructure. It includes the comments by Chandra.

It's based on the current scsi-misc tree.

Main features of the patchset are:
- Use a single callback for the notifier chain
- Merge all device maps into a single list, which will be scanned by a generic function
- Add a sysfs attribute 'dh_state' for each sdev
- Add a generic SPC-3 ALUA device handler
- Update device handlers to check if the device actually supports this handler. When attaching manually we are able to attach to basically any device, so we have to make sure that the device handler is actually supported.
- Manually attach a device when a hardware handler is specified; this allows multipath to override the built-in hardware table.
- Update dm-multipath to explicitly attach to the specified device handler. This allows overriding of the built-in table by the multipath values.

As per usual, comment etc are welcome.

Cheers,

Hannes