From: Darrick J. Wong Date: Fri, 1 Oct 2010 20:55:47 +0000 (-0700) Subject: [SCSI] libsas: Don't issue commands to devices that have been hot-removed X-Git-Tag: v2.6.37-rc1~159^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56dd2c0691a5a387b7b05835fe547dc6fade9407;p=pandora-kernel.git [SCSI] libsas: Don't issue commands to devices that have been hot-removed sd will get hung up issuing commands to flush write cache if a SAS device behind the expander is unplugged without warning. Change libsas to reject commands to domain devices that have already gone away. [maciej.trela@intel.com: removed setting ->gone in sas_deform_port() to permit sync cache commands at module removal] Signed-off-by: Darrick J. Wong Tested-by: Haipao Fan Signed-off-by: Maciej Trela Signed-off-by: Dan Williams Signed-off-by: James Bottomley --- Reading git-diff-tree failed