From: Omar Sandoval <osandov@osandov.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: Bart Van Assche <Bart.VanAssche@wdc.com>,
"maier@linux.ibm.com" <maier@linux.ibm.com>,
"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
"jthumshirn@suse.de" <jthumshirn@suse.de>,
Damien Le Moal <Damien.LeMoal@wdc.com>,
"dgilbert@interlog.com" <dgilbert@interlog.com>,
"hch@lst.de" <hch@lst.de>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
"hare@suse.com" <hare@suse.com>,
"lduncan@suse.com" <lduncan@suse.com>,
"osandov@fb.com" <osandov@fb.com>
Subject: Re: [PATCH blktests] scsi/004: add regression test for false BLK_STS_OK with non good SAM status
Date: Thu, 19 Apr 2018 13:18:55 -0700 [thread overview]
Message-ID: <20180419201855.GD20941@vader> (raw)
In-Reply-To: <55fb164b-e4a4-95c8-2382-f7251c4973df@kernel.dk>
On Thu, Apr 19, 2018 at 01:44:41PM -0600, Jens Axboe wrote:
> On 4/19/18 1:41 PM, Bart Van Assche wrote:
> > On Thu, 2018-04-19 at 12:13 -0700, Omar Sandoval wrote:
> >> On Thu, Apr 19, 2018 at 11:53:30AM -0700, Omar Sandoval wrote:
> >>> Thanks for the test! Applied.
> >>
> >> Side note, it's unfortunate that this test takes 180 seconds to run only
> >> because we have to wait for the command timeout. We should be able to
> >> export request_queue->rq_timeout writeable in sysfs. Would you be
> >> interested in doing that?
> >
> > Hello Omar,
> >
> > Is this perhaps what you are looking for?
> > # ls -l /sys/class/scsi_device/*/*/timeout
> > -rw-r--r-- 1 root root 4096 Apr 19 08:52 /sys/class/scsi_device/2:0:0:0/device/timeout
> > -rw-r--r-- 1 root root 4096 Apr 19 12:39 /sys/class/scsi_device/8:0:0:1/device/timeout
>
> We should have it generically available though, not just for SCSI. In
> retrospect, it should have been under queue/ from the start, now we'll
> end up with duplicate entries for SCSI.
For the sake of this test, I just decreased the timeout through SCSI.
next prev parent reply other threads:[~2018-04-19 20:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-17 9:03 [PATCH blktests] scsi/004: add regression test for false BLK_STS_OK with non good SAM status Steffen Maier
2018-04-17 9:41 ` Johannes Thumshirn
2018-04-19 18:53 ` Omar Sandoval
2018-04-19 19:13 ` Omar Sandoval
2018-04-19 19:41 ` Bart Van Assche
2018-04-19 19:44 ` Jens Axboe
2018-04-19 20:18 ` Omar Sandoval [this message]
2018-04-23 12:25 ` Steffen Maier
2018-04-24 23:14 ` Omar Sandoval
2018-04-19 20:04 ` Jens Axboe
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=20180419201855.GD20941@vader \
--to=osandov@osandov.com \
--cc=Bart.VanAssche@wdc.com \
--cc=Damien.LeMoal@wdc.com \
--cc=axboe@kernel.dk \
--cc=dgilbert@interlog.com \
--cc=hare@suse.com \
--cc=hch@lst.de \
--cc=jthumshirn@suse.de \
--cc=lduncan@suse.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=maier@linux.ibm.com \
--cc=osandov@fb.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