commit | b4d38e38e66f8e1b32a1b1c00e533175314c8d56 | [log] [tgz] |
---|---|---|
author | Alan Stern <stern@rowland.harvard.edu> | Wed Oct 11 16:48:28 2006 -0400 |
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | Wed Nov 15 12:11:36 2006 -0600 |
tree | 4ce358a859e9009b78fee13f9273b0dbb23de7bc | |
parent | 3e082a910d217b2e7b186077ebf5a1126a68c62f [diff] |
[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 <stern@rowland.harvard.edu> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>