bytedance / bytedance/libnvmf

nvmf-fio failed with bs >= 16384

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
40
Forks
7
PR merge metrics
No merged PRs in 30d

Description

**use SPDK nvmf target, nvmf-fio works fine with**
./nvmf-fio --filename=nvmf-tcp://192.168.50.121:4420/nqn.2016-06.io.spdk:cnode1/1 --randrw --iodepth=32 --ioqueues=4 --runtime=10
(default reqize=4096)

**while --bs=65536 is added to the command. nvmf-fio will abort with messages:**
nvmf-:cnode1-3 Sun Mar 30 16:51:57 2025[error]nvmf_tcp_queue_recv 1136 queue[3] read pdu ret: 24, type: 0, flags: 0, hlen: 0, pdo: 0, plen : 0
nvmf-:cnode1-2 Sun Mar 30 16:51:57 2025[error]nvmf_tcp_queue_recv 1136 queue[2] read pdu ret: 24, type: 0, flags: 0, hlen: 0, pdo: 0, plen : 0
nvmf-:cnode1-3 Sun Mar 30 16:51:57 2025[error]nvmf_tcp_queue_dump 196 queue[3], sockfd 12, size 127, cmnd_capsule_len 8256
nvmf-fio: transport-tcp.c:1138: nvmf_tcp_queue_recv: Assertion `0' failed.

**nvmf-dd works with same behavior**
not work with default reqsize 4096 * 8, and abort with messages same above

**nvmf-dd works when reqsize changed to 4096**

FYI,SPDK nvmf target print the following message when fault happens
[2025-03-30 16:40:47.418737] tcp.c:1774:nvmf_tcp_qpair_set_recv_state: *ERROR*: The recv state of tqpair=0x26ca520 is same with the state(6) to be set

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.