From: Vincent Fu Date: Tue, 27 Jun 2023 20:17:10 +0000 (+0000) Subject: t/nvmept: add trim test with ioengine options enabled X-Git-Tag: fio-3.36~69 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=d47132c6a6be57bb5033c57db5e86cfba179c12f;p=fio.git t/nvmept: add trim test with ioengine options enabled Add a test for a trim workload with ioengine options enabled like the ones we have for read and write. fixedbufs cannot be enabled for a trim-only workload because fio does not allocate data buffers for these workloads. Signed-off-by: Vincent Fu --- diff --git a/t/nvmept.py b/t/nvmept.py index 200219b4..cc26d152 100755 --- a/t/nvmept.py +++ b/t/nvmept.py @@ -236,6 +236,23 @@ TEST_LIST = [ }, "test_class": PassThruTest, }, + { + # We can't enable fixedbufs because for trim-only + # workloads fio actually does not allocate any buffers + "test_id": 15, + "fio_opts": { + "rw": 'randtrim', + "timebased": 1, + "runtime": 3, + "fixedbufs": 0, + "nonvectored": 1, + "force_async": 1, + "registerfiles": 1, + "sqthread_poll": 1, + "output-format": "json", + }, + "test_class": PassThruTest, + }, ] def parse_args():