This makes the linked-defer-close test work correctly without relying on
improper usage of IOSQE_IO_LINK.
The test will now issue three sends with
IOSQE_CQE_SKIP_SUCCESS | IOSQE_IO_LINK followed by a close with
IOSQE_CQE_SKIP_SUCCESS on a ring setup with IORING_SETUP_DEFER_TASKRUN.
On an incorrectly behaving kernel the connection will not be closed and
remain open.
This test first fails on kernel commit 846072f16eed3b3fb4e59b677f3ed8afb8509b89
This makes the linked-defer-close test work correctly without relying on improper usage of IOSQE_IO_LINK.
The test will now issue three sends with IOSQE_CQE_SKIP_SUCCESS | IOSQE_IO_LINK followed by a close with IOSQE_CQE_SKIP_SUCCESS on a ring setup with IORING_SETUP_DEFER_TASKRUN.
On an incorrectly behaving kernel the connection will not be closed and remain open.
This test first fails on kernel commit 846072f16eed3b3fb4e59b677f3ed8afb8509b89
Signed-off-by: Jan Hendrik Farr kernel@jfarr.cc