Douglas Gilbert wrote: > Hannes Reinecke wrote: >> Hi all, >> >> this patch allows to set the REQ_FAILFAST flag to be set from SG_IO >> commands. With it one can send generic SCSI commands which behave >> exactly like normal requests send via the block layer. >> >> Comments etc welcome. > > Hannes, > Looks good. There is no proposed change to sg.c . > Could SG_FLAG_FAILFAST be made to work via sg device > nodes? > That will be tricky. sg.c is using scsi_execute_async() which doesn't provide for any flags to be passed. Cheers, Hannes -- Dr. Hannes Reinecke hare@xxxxxxx SuSE Linux Products GmbH S390 & zSeries Maxfeldstraße 5 +49 911 74053 688 90409 Nürnberg http://www.suse.de - : 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