James Bottomley 542bd1377a [SCSI] fix SLUB WARN_ON
We're getting a WARN_ON from SLUB indicating that we're trying to free
caches with in-use objects.  The root cause is a new dependency in the
command/sense free on unchecked_isa_dma.  The WARN_ON is caused by
drivers which change this in their setup after the command/sense cache
is allocated.

The fix is to move the allocation of this cache into scsi_add_host()
so things like gdth have an opportunity to modify it between alloc and
add (but *not* after).

The true fix would be to move unchecked_isa_dma into the template and
out of the host, so it because a truly read only variable.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-04-27 12:19:54 -05:00
..
2008-03-13 22:53:29 +01:00
2008-04-21 22:38:45 +00:00
2008-04-19 20:40:10 -04:00
2008-03-03 10:47:13 -08:00
2008-04-27 12:19:54 -05:00
2008-02-26 14:12:09 +09:00
2008-04-07 13:14:22 -07:00
2008-03-04 16:35:12 -08:00
2008-04-04 18:36:46 +02:00