• Andrew Morton's avatar
    [PATCH] I2O subsystem fixing and cleanup for 2.6 - i2o_block-cleanup.patch · 96005e5a
    Andrew Morton authored
    From: Markus Lidel <Markus.Lidel@shadowconnect.com>
    
    * more than 3 "visible" disks (hda, hdb, hdc, hdd) lead to kernel panics.
    
    * removes some unused code with partitions.
    
    * I2O_LOCK was often called with the addresses of the controller, and not
      with the address of the device.  Fixed.
    
    * the cleanup function for gendisk (del_gendisk) doesn't work if the queue
      is shared between different devices.  To workaround the queue is removed
      before.
    
    * redundant code removed in module initialization and remove, use
      i2ob_new_device and i2ob_del_device instead.
    
    * removed atomic_t queue_depth
    
    * removed unnecessary and bogus code for queue handling
    96005e5a
i2o_block.c 40.8 KB