]> www.infradead.org Git - users/sagi/blktests.git/commit
block: fix fio jobs for 027 and add cgroup support
authorDennis Zhou <dennis@kernel.org>
Wed, 1 May 2019 19:48:38 +0000 (15:48 -0400)
committerOmar Sandoval <osandov@fb.com>
Mon, 6 May 2019 21:15:05 +0000 (14:15 -0700)
commitca36b7959c4413c3d694c47e5fc5913c1f806338
treeb5601c1c7aa9eb75806cb30ad153738da66f83d1
parent0f8dc7346a7958a3432b92508eb8a19ed60ce609
block: fix fio jobs for 027 and add cgroup support

Previously, the test was broken as "$fio_jobs" was considered as a
string instead of additional parameters. This is fixed here.

Second, there was an issue with earlier kernels when request lists
existed such that request_queues were never being cleaned up because
non-root blkgs took a reference on the queue. However, blkgs were being
cleaned up after the last reference to the request_queue was put back.
This creates a blktest cgroup for the fio jobs to utilize and should be
useful for catching this scenario in the future.

Signed-off-by: Dennis Zhou <dennis@kernel.org>
tests/block/027