t/zbd: Fix test target size of test case #48
authorShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Fri, 30 Oct 2020 06:57:40 +0000 (15:57 +0900)
committerJens Axboe <axboe@kernel.dk>
Fri, 30 Oct 2020 13:24:59 +0000 (07:24 -0600)
Option --size was not specified to the fio command of test case #48. It
resulted in write operations to all available sequential write required
zones and relaxed zone locking test condition. Specify the option to
limit test target to 16 zones so that zone locking is tested with
expected condition.

Fixes: 3bd2078bdd1c ("zbd: add test for stressing zone locking")
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Reviewed-by: Dmitry Fomichev <dmitry.fomichev@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/zbd/test-zbd-support

index 248423bbb04ab6e871d719331fd74458b91e74bd..acde3b3a3e5e08372a9da3432e7d6e0818650940 100755 (executable)
@@ -913,7 +913,7 @@ test48() {
     for ((i=0;i<jobs;i++)); do
        opts+=("--name=job$i" "--filename=$dev" "--offset=$off" "--bs=16K")
        opts+=("--io_size=$zone_size" "--iodepth=256" "--thread=1")
-       opts+=("--group_reporting=1")
+       opts+=("--size=$size" "--group_reporting=1")
        # max_open_zones is already specified
        opts+=($(job_var_opts_exclude "--max_open_zones"))
     done