From: Dan Williams Date: Fri, 22 Jun 2012 06:30:48 +0000 (-0700) Subject: [SCSI] libsas: enforce eh strategy handlers only in eh context X-Git-Tag: v3.6-rc1~103^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5db45bdc87ce4f503947adf7896586d60c63322c;p=pandora-kernel.git [SCSI] libsas: enforce eh strategy handlers only in eh context The strategy handlers may be called in places that are problematic for libsas (i.e. sata resets outside of domain revalidation filtering / libata link recovery), or problematic for userspace (non-blocking ioctl to sleeping reset functions). However, these routines are also called for eh escalations and recovery of scsi_eh_prep_cmnd(), so permit them as long as we are running in the host's error handler, otherwise arrange for them to be triggered in eh_context. Signed-off-by: Dan Williams Signed-off-by: James Bottomley --- Reading git-diff-tree failed