ydb-platform / nbs

Network Block Store
Apache License 2.0
50 stars 14 forks source link

NBSNEBIUS-356: retry io when io_submit return EAGAIN #1524

Open budevg opened 2 days ago

budevg commented 2 days ago

We discovered cases where aio_submit return with EAGAIN This can happen when aio subsystem is temporarily out of requests for example here https://elixir.bootlin.com/linux/latest/source/fs/aio.c#L2054

In this commit we start to handle EAGAIN as retryable error to avoid marking devices as broken

qkrorlqr commented 2 days ago

какой-то тест нужен

github-actions[bot] commented 2 days ago

[!NOTE] This is an automated comment that will be appended during run.

:red_circle: linux-x86_64-relwithdebinfo: some tests FAILED for commit 274e40a6aeefbc4fa8c3d641c69e4df423a32073. TESTS PASSED ERRORS FAILED SKIPPED MUTED?
5363 5362 0 1 0 0
github-actions[bot] commented 11 hours ago

[!NOTE] This is an automated comment that will be appended during run.

:green_circle: linux-x86_64-relwithdebinfo: all tests PASSED for commit 07669f056de32bf6ba749644af295de2995b8b2a. TESTS PASSED ERRORS FAILED SKIPPED MUTED?
5364 5364 0 0 0 0