From: Martin K. Petersen Date: Tue, 5 May 2015 01:54:21 +0000 (-0400) Subject: libata: Fall back to unqueued READ LOG EXT if the DMA variant fails X-Git-Tag: omap-for-v4.2/fixes-rc1^2~115^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d3abf8ff67f;p=pandora-kernel.git libata: Fall back to unqueued READ LOG EXT if the DMA variant fails Some devices advertise support for the READ/WRITE LOG DMA EXT commands but fail when we try to issue them. This can lead to queued TRIM being unintentionally disabled since the relevant feature flag is located in a general purpose log page. Fall back to unqueued READ LOG EXT if the DMA variant fails while reading a log page. Signed-off-by: Martin K. Petersen Reviewed-by: Hannes Reinecke Signed-off-by: Tejun Heo --- Reading git-diff-tree failed