Skip to content

Commit 3e68abb

Browse files
committed
test/recv-mshot-fair: test fairness and limits between streams
Based on code slated for 6.17, test that multiple streams don't end up starving each other, if limited by setting sqe->len on recv multishot. Also test that if sqe->optlen is set for a recv multishot, then the multishot request should terminate when this limit is hit. Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent cfb5174 commit 3e68abb

2 files changed

Lines changed: 515 additions & 0 deletions

File tree

test/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ test_srcs := \
180180
recv-inc-ooo.c \
181181
recv-msgall.c \
182182
recv-msgall-stream.c \
183+
recv-mshot-fair.c \
183184
recv-multishot.c \
184185
reg-fd-only.c \
185186
reg-hint.c \

0 commit comments

Comments
 (0)