Menu

Advanced TCA Hotswap / News: Recent posts

SCSI FC Disk Hotswap for Linux Kernel 2.5.44 revision 0.91

Changes from kernel 2.5.44 0.90 to 0.91 release:
-----------------------------------------------------------------
* Dump scsi_hotswap_fs and include directly into driverfs under bus/scsi/hotswap_commads (suggested by several people)
* changed read_file to _show and write_file to _store while also changing symantics
* in each store call, use page allocated by driverfs
* switched lun/id and lun/wwn ordering to id/lun and wwn/lun (pointed as an error by Michael Anderson)
* spinlocks changed to semaphores to fix lock held during sleep in function scsi_eh_bus_device_reset (pointed as an error by Patrick Mansfield)

Posted by Steven Dake 2002-10-25

SCSI FC Disk Hotswap for Kernel 2.5.44

A complete port plus feature additions was done from 2.4.19 to 2.5.44.

* Complete port to linux kernel 2.5.44
* Locking of scsi_host->host_queue structure when traversing scsi device list (suggested by Alan Cox)
- This keeps multiple hotswap commands from corrupting the SCSI device list and
causing system failure
* ioctls deleted and replaced by ramfs scsi_hotswap_fs (suggested by Greg KH)
- removes need for character device node
- usage information available by read() call to files
- available over nfs exported directories
* local file-scope functions declared as static instead of global (suggested by Greg KH)
* code reformatted to fit on 80 character wide screen and to follow linux general kernel
instead of scsi subsystem format
* KERNEL_SYSCALLS define removed from header (suggested by Greg KH)
* list of include files optimized to only include files as needed
* Removed direct call from scsi.c into scsi_hotswap_init and used module_init instead
* Made modular so can be compiled as a module or in the kernel directly
* Fixed bug where scsi_hotswap_insert_by_scsi_id didn't properly add a device in some cases

Posted by Steven Dake 2002-10-23