From: James Bottomley Date: Thu, 20 Jan 2011 23:26:44 +0000 (-0600) Subject: [SCSI] libsas: fix runaway error handler problem X-Git-Tag: v2.6.38-rc4~20^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ee91f7fb550a4c82f82d9818e42493484c754af;p=pandora-kernel.git [SCSI] libsas: fix runaway error handler problem libsas makes use of scsi_schedule_eh() but forgets to clear the host_eh_scheduled flag in its error handling routine. Because of this, the error handler thread never gets to sleep; it's constantly awake and trying to run the error routine leading to console spew and inability to run anything else (at least on a UP system). The fix is to clear the flag as we splice the work queue. Cc: stable@kernel.org Signed-off-by: James Bottomley --- Reading git-diff-tree failed