]> git.hungrycats.org Git - linux/commit
scsi_softirq queue is now list_head, eliminate bh_next
authorLuben Tuikov <luben@splentec.com>
Fri, 14 Mar 2003 12:35:45 +0000 (06:35 -0600)
committerJames Bottomley <jejb@raven.il.steeleye.com>
Fri, 14 Mar 2003 12:35:45 +0000 (06:35 -0600)
commitf1b28fd9e7827f4806aebe8fb0d8c3ff5cfc3e9c
tree8edcb65646927b6248762d78208eb3029231a34c
parent5f99bd9a4ad3c3f4829f2482e886229e59446f61
scsi_softirq queue is now list_head, eliminate bh_next

The following patch gets rid of softscsi_data struct and
array for the more manageable
static struct list_head done_q[NR_CPUS] __cacheline_aligned;

Thus, scsi_cmnd::bh_next is eliminated, since it was used only
in the scsi softirq processing code.

The comments are updated.

80 chars per line for the affected functions: scsi_done()
and scsi_softirq().

Eliminated is the double loop in scsi_softirq() -- this is
better handled in do_softirq() and gives the system a ``breather''.
(There are pros and cons for either side and if you guys
think that it was better with the double loop, I'll change it and
resubmit the patch.)
drivers/scsi/scsi.c
drivers/scsi/scsi.h
drivers/scsi/scsi_lib.c