[RESEND] [PATCH 0/5] scsi_dh framework update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi James,

this is a repost of my patchset to update the scsi_dh infrastructure.

It's now based on the current scsi-misc tree and includes some
bugfixes:
- A typo in the ALUA prep_fn function
- Fixed a request leak; none of the scsi_dh handler do a
  blk_put_request() currently.
- Made the comments kernel-doc compliant.
- Added two new return codes SCSI_DH_DEV_NOTSUPP and
  SCSI_DH_SENSE_AVAIL.

Main features of the updates 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 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.

Two issues are still outstanding:
- Argument passing to the device handler:
  Some device handler have options which cannot
  be determined automatically. We need to be
  able to pass these argument down from the
  device-mapper layer.
- Update the RDAC device handler to attach
  only to devices supporting RDAC.
  Chandra, your call :-)

As per usual, comment etc are welcome.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare@xxxxxxx			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N�g
GF: Markus Rex, HRB 16746 (AG N�g)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux