From: keith.busch@linux.intel.com (Keith Busch)
Subject: [PATCHv2 blktests] nvme: Add command timeout injection test
Date: Mon, 14 May 2018 16:00:12 -0600 [thread overview]
Message-ID: <20180514220012.GA15199@localhost.localdomain> (raw)
In-Reply-To: <20180514210136.GE13417@vader>
On Mon, May 14, 2018@02:01:36PM -0700, Omar Sandoval wrote:
> On Mon, May 14, 2018@02:42:41PM -0600, Keith Busch wrote:
> > This test will run a background IO process and inject an admin command
> > with a very short timeout that is all but guaranteed to expire without
> > a completion: the async event request.
> >
> > Signed-off-by: Keith Busch <keith.busch at intel.com>
> > ---
> > v1 -> v2:
> >
> > Changed description since its not a test for a specific
> > regression-fixing patch.
> >
> > Added fio requirement.
> >
> > Missing quotes around device name.
>
> I tried this on my QEMU VM, which apparently doesn't emulate this
> command:
Ah, qemu mainline isn't spec compliant and doesn't support AEN requests. I
was testing on real hardware.
This older one has support:
http://git.infradead.org/users/kbusch/qemu-nvme.git/
It is quite old, though.
> Can this test use a loopback target like the nvme tests Johannes has
> added recently?
It looks like the in-kernel nvme target supports it. I'll have to give
it a try.
prev parent reply other threads:[~2018-05-14 22:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-14 20:42 [PATCHv2 blktests] nvme: Add command timeout injection test Keith Busch
2018-05-14 21:01 ` Omar Sandoval
2018-05-14 22:00 ` Keith Busch [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=20180514220012.GA15199@localhost.localdomain \
--to=keith.busch@linux.intel.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).