Re: [PATCH 1/1] scsi_debug: delay stress fix

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

 



On Wed, 2018-01-10 at 16:57 -0500, Douglas Gilbert wrote:
> Introduce a state enum into sdebug_defer objects to indicate which,
> if any, defer method has been used with the associated command.
> Also add 2 bools to indicate which of the defer methods has been
> initialized. Those objects are re-used but the initialization
> only needs to be done once. This simplifies command cancellation
> handling.
> 
> Now the delay associated with a deferred response of a command
> cannot be changed (once started) by changing the delay (and ndelay)
> parameters in sysfs. Command aborts and driver shutdown are still
> honoured immediately when received.

Reviewed-by: Bart Van Assche <bart.vanassche@xxxxxxx>





[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