mbox series

[0/4] ublk: improve handling of saturated queues when ublk server exits

Message ID 20250325-ublk_timeout-v1-0-262f0121a7bd@purestorage.com (mailing list archive)
Headers show
Series ublk: improve handling of saturated queues when ublk server exits | expand

Message

Uday Shankar March 25, 2025, 10:19 p.m. UTC
This set aims to reduce the long delay in applications reacting to ublk
server exit in the case of a "fully saturated" queue, i.e. one for which
all I/Os are outstanding to the ublk server. The first few patches fix
some minor issues in the ublk selftests, and the last patch contains the
main work and a test to validate it.

Signed-off-by: Uday Shankar <ushankar@purestorage.com>
---
Uday Shankar (4):
      selftests: ublk: kublk: use ioctl-encoded opcodes
      selftests: ublk: kublk: fix an error log line
      selftests: ublk: kublk: ignore SIGCHLD
      ublk: improve handling of saturated queues when ublk server exits

 drivers/block/ublk_drv.c                        | 40 +++++++++++------------
 tools/testing/selftests/ublk/Makefile           |  1 +
 tools/testing/selftests/ublk/kublk.c            | 10 ++++--
 tools/testing/selftests/ublk/kublk.h            |  3 ++
 tools/testing/selftests/ublk/null.c             |  4 +++
 tools/testing/selftests/ublk/test_generic_02.sh | 43 +++++++++++++++++++++++++
 6 files changed, 76 insertions(+), 25 deletions(-)
---
base-commit: 648154b1c78c9e00b6934082cae48bb38714de20
change-id: 20250325-ublk_timeout-b06b9b51c591

Best regards,