Miles Nordin <car...@ivy.net> writes: >>>>>> "kth" == Kjetil Torgrim Homme <kjeti...@linpro.no> writes: > > kth> the SCSI layer handles the replaying of operations after a > kth> reboot or connection failure. > > how? > > I do not think it is handled by SCSI layers, not for SAS nor iSCSI.
sorry, I was inaccurate. error reporting is done by the SCSI layer, and the filesystem handles it by retrying whatever outstanding operations it has. > Also, remember a write command that goes into the write cache is a > SCSI command that's succeeded, even though it's not actually on disk > for sure unless you can complete a sync cache command successfully and > do so with no errors nor ``protocol events'' in the gap between the > successful write and the successful sync. A facility to replay failed > commands won't help because when a drive with write cache on reboots, > successful writes are rolled back. this is true, sorry about my lack of precision. the SCSI layer can't do this on its own. -- Kjetil T. Homme Redpill Linpro AS - Changing the game _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss