Skip to content

blktests throtl/001 failure due to scsi_debug delay=1 by default #219

@gitPo1son

Description

@gitPo1son

this issue happened on aarch64 platform,

throtl/001 failed on the sdebug device , because the default delay=1

parm:           delay:response delay (def=1 jiffy); 0:imm, -1,-2:tiny (int)

of the scsi_debug module caused an additional delay of approximately 2.5 seconds for 256 IO operations,
making the expected 1 second test actually take 3 seconds,

# ./check throtl/001
throtl/001 (nullb) (basic functionality)                     [passed]
    runtime    ...  5.122s
throtl/001 (sdebug) (basic functionality)                    [failed]
    runtime    ...  13.007s
    --- tests/throtl/001.out    2025-11-28 03:05:30.753102288 -0500
    +++ /root/blktests/results/nodev_sdebug/throtl/001.out.bad  2025-11-28 03:06:43.893531846 -0500
    @@ -1,6 +1,6 @@
     Running throtl/001
    -1
    -1
    -1
    -1
    +3
    +3
    ...
    (Run 'diff -u tests/throtl/001.out /root/blktests/results/nodev_sdebug/throtl/001.out.bad' to see the entire diff)

# cat /root/blktests/results/nodev_sdebug/throtl/001.out.bad
Running throtl/001
3
3
3
3
Test complete

# diff -u tests/throtl/001.out /root/blktests/results/nodev_sdebug/throtl/001.out.bad
--- tests/throtl/001.out        2025-11-28 03:05:30.753102288 -0500
+++ /root/blktests/results/nodev_sdebug/throtl/001.out.bad      2025-11-28 03:06:43.893531846 -0500
@@ -1,6 +1,6 @@
 Running throtl/001
-1
-1
-1
-1
+3
+3
+3
+3
 Test complete
# 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions