]> err.no Git - linux-2.6/commit
[SCSI] gdth: Remove gdth_ctr_tab[]
authorBoaz Harrosh <bharrosh@panasas.com>
Tue, 2 Oct 2007 21:11:24 +0000 (23:11 +0200)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:56:00 +0000 (14:56 -0400)
commit884f7fba09646714f94d945162e698f0822a6fdd
treed076eb4fa2fce33918548de69770e35153bdf823
parent835cc24aff0fd4b9da9d0a45d9bd043adcb2cf89
[SCSI] gdth: Remove gdth_ctr_tab[]

  - Places like Initialization and Reset that Just loop on all devices can
    use the link list with the list_for_each_entry macro.
    But the io_ctrl from user mode now suffers performance-wise because
    code has to do a sequential search for the requested host number.
    I have isolated this search in a gdth_find_ha(int hanum) member
    for future enhancement if needed.

Signed-off-by Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/gdth.c