]> err.no Git - linux-2.6/commit
[SCSI] libsas: Destroy the task collector thread after releasing ports
authorDarrick J. Wong <djwong@us.ibm.com>
Thu, 11 Jan 2007 22:15:03 +0000 (14:15 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 13 Jan 2007 22:15:27 +0000 (16:15 -0600)
commitcde3f74bac3e4a6bcdc3a6370af38179fd8ef1f2
treebf98c68eb08edaa45320dbf3154b22830898a6a2
parent6d4dcd4dae25c48e8932326aaedfe560d7f2c7bb
[SCSI] libsas: Destroy the task collector thread after releasing ports

If we use task collector mode, we can end up destroying the task collector
thread before we release the ports, which is bad if a port release causes
a disk I/O (such as cache flushing).

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libsas/sas_init.c