From: Martin K. Petersen Date: Mon, 13 Feb 2012 20:38:22 +0000 (-0500) Subject: [SCSI] Ensure discard failure gets treated as a target problem X-Git-Tag: v3.4-rc1~145^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66a651aa7a48b7c6181aff556937454c87bb9feb;p=pandora-kernel.git [SCSI] Ensure discard failure gets treated as a target problem The error reported up the stack for a discard failure did not clearly indicate that the command was processed and subsequently failed by the target device. Return -EREMOTEIO so multipathing does not classify this condition as a path failure. Signed-off-by: Martin K. Petersen Acked-by: Mike Snitzer Signed-off-by: James Bottomley --- Reading git-diff-tree failed