Re: [PATCH/RFC] Allowing REQ_FAILFAST to be set from SG_IO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux