From: Bart Van Assche <Bart.VanAssche@wdc.com>
To: "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
"dgilbert@interlog.com" <dgilbert@interlog.com>
Cc: "jejb@linux.vnet.ibm.com" <jejb@linux.vnet.ibm.com>,
"hare@suse.de" <hare@suse.de>,
"martin.petersen@oracle.com" <martin.petersen@oracle.com>
Subject: Re: [PATCH 1/1] scsi_debug: delay stress fix
Date: Wed, 17 Jan 2018 00:32:20 +0000 [thread overview]
Message-ID: <1516149139.2844.71.camel@sandisk.com> (raw)
In-Reply-To: <20180110215731.4805-2-dgilbert@interlog.com>
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@wdc.com>
next prev parent reply other threads:[~2018-01-17 0:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-10 21:57 [PATCH 0/1] scsi_debug: delay stress fix Douglas Gilbert
2018-01-10 21:57 ` [PATCH 1/1] " Douglas Gilbert
2018-01-17 0:32 ` Bart Van Assche [this message]
2018-01-17 6:00 ` Martin K. Petersen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1516149139.2844.71.camel@sandisk.com \
--to=bart.vanassche@wdc.com \
--cc=dgilbert@interlog.com \
--cc=hare@suse.de \
--cc=jejb@linux.vnet.ibm.com \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).