From: Alan Stern Date: Wed, 11 Oct 2006 20:48:28 +0000 (-0400) Subject: [SCSI] Reduce polling in sd.c X-Git-Tag: v2.6.20-rc1~34^2~20^2~41^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4d38e38e66f8e1b32a1b1c00e533175314c8d56;p=pandora-kernel.git [SCSI] Reduce polling in sd.c If a drive reports that no media is present, there's no point in continuing to ask it about media status. This patch (as696) cuts the TUR polling short as soon as the drive reports no media instead of going a full 3 iterations. Signed-off-by: Alan Stern Signed-off-by: James Bottomley --- Reading git-diff-tree failed