From: Vincent Fu Date: Thu, 25 Apr 2024 17:00:54 +0000 (-0400) Subject: t/nvmept_trim: increase transfer size for some tests X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=HEAD t/nvmept_trim: increase transfer size for some tests The final sequence of tests uses a block size of 4096 bytes. This can be slow enough on some platforms to trigger a 10-minute timeout. Increase the block size to 256K to reduce the run time. Signed-off-by: Vincent Fu --- diff --git a/t/nvmept_trim.py b/t/nvmept_trim.py index 57568384..c990747d 100755 --- a/t/nvmept_trim.py +++ b/t/nvmept_trim.py @@ -470,6 +470,7 @@ TEST_LIST = [ "output-format": 'json', "buffer_pattern": 0x0f, "size": 256*1024*1024, + "bs": 256*1024, }, "test_class": TrimTest, }, @@ -481,6 +482,7 @@ TEST_LIST = [ "verify_pattern": 0x0f, "verify": "pattern", "size": 256*1024*1024, + "bs": 256*1024, }, "test_class": TrimTest, }, @@ -491,6 +493,7 @@ TEST_LIST = [ "num_range": 8, "output-format": 'json', "size": 128*1024*1024, + "bs": 256*1024, }, "test_class": TrimTest, }, @@ -511,6 +514,7 @@ TEST_LIST = [ "verify_pattern": 0x0f, "verify": "pattern", "size": 128*1024*1024, + "bs": 256*1024, }, "test_class": TrimTest, "success": SUCCESS_NONZERO, @@ -524,6 +528,7 @@ TEST_LIST = [ "verify": "pattern", "offset": 128*1024*1024, "size": 128*1024*1024, + "bs": 256*1024, }, "test_class": TrimTest, },