Thread (10 messages) 10 messages, 3 authors, 2017-06-27

Re: [PATCH blktests 2/2] block/011: Perform PCI reset while doing IO

From: Jens Axboe <axboe@kernel.dk>
Date: 2017-06-26 21:45:11

On 06/26/2017 03:29 PM, Omar Sandoval wrote:
On Mon, Jun 26, 2017 at 08:25:36AM -0600, Jens Axboe wrote:
quoted
On 06/26/2017 08:06 AM, Johannes Thumshirn wrote:
quoted
On Fri, Jun 23, 2017 at 09:36:14AM -0600, Jens Axboe wrote:
quoted
On 06/23/2017 08:29 AM, Johannes Thumshirn wrote:
quoted
From: Omar Sandoval <redacted>

This test-case performs I/O with fio while doing PCI disable/enable
cycles.

In the results we don't care for I/O errors but for hiccups in dmesg only.
Let's get this in, that would be a very useful test. A few comments -
not necessarily on this patch in particular, but for future cleanups
and improvements.
quoted
+	if _test_dev_is_rotational; then
+		size="32m"
+	else
+		size="1g"
+	fi
I introduced this idea in one of my previous patches. I wonder if we
should turn that into a helper. Pass in the dev, get returned a
suitable fio size, instead of hard coding this in each job that
needs it.
What I wanted to have here eventually is a helper that you can run when
you just want arbitrary I/O. Haven't gotten around to it.
That would be handy. Until that happens, I would not worry about it,
it's not like it's a lot of work to just copy/paste the "do random
reads QD=x with Y jobs" between jobs. It'd be fine as a separate
cleanup at some point.


-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help