From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Douglas Gilbert <dgilbert@interlog.com>
Cc: linux-scsi@vger.kernel.org, martin.petersen@oracle.com,
jejb@linux.vnet.ibm.com, bart.vanassche@sandisk.com,
hare@suse.de
Subject: Re: [PATCH 1/1] scsi_debug: delay stress fix
Date: Wed, 17 Jan 2018 01:00:01 -0500 [thread overview]
Message-ID: <yq1zi5dt47y.fsf@oracle.com> (raw)
In-Reply-To: <20180110215731.4805-2-dgilbert@interlog.com> (Douglas Gilbert's message of "Wed, 10 Jan 2018 16:57:31 -0500")
Doug,
> 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.
Applied (by hand, not sure which tree this was cut against?) to
4.16/scsi-queue.
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2018-01-17 6:00 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
2018-01-17 6:00 ` Martin K. Petersen [this message]
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=yq1zi5dt47y.fsf@oracle.com \
--to=martin.petersen@oracle.com \
--cc=bart.vanassche@sandisk.com \
--cc=dgilbert@interlog.com \
--cc=hare@suse.de \
--cc=jejb@linux.vnet.ibm.com \
--cc=linux-scsi@vger.kernel.org \
/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).