linux-scsi added to cc so all the experts get to chime in. On Thu, 2011-01-27 at 10:09 -0800, Don Oliver wrote: > Hi James, > > I am developing a Linux application that uses Asynchronous IO > (libaio) with DIRECT_IO to read and write to hard drives over a SAS > HBA. > > Do the SCSI layers in Linux automatically perform retries on failed > read and write commands, or will my application need to be solely > responsible for error retries? By and large, if the sense code of a write says that the error is permanent and unfixable, there's no point at all in retrying it, so errors get returned as fast as possible. SCSI will retry if there's hope of actually fixing it (like transient medium errors). James -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html