Recent changes (master)
Jens Axboe <[email protected]> Fri, 17 Apr 2026 06:00:01 -0600
| Newsgroups | org.kernel.vger.fio |
|---|---|
| Message-ID | <[email protected]> |
The following changes since commit f4e93793cbe3e4703520a9d4e1d6596bb1b43c73:
Merge branch 'anon-fault' (2026-04-07 20:00:49 -0600)
are available in the Git repository at:
git://git.kernel.dk/fio.git master
for you to fetch changes up to 219f1c3503c1961f41173456d399f41b72d08ef3:
Merge branch 'arm-select-eintr' of https://github.com/alex310110/fio (2026-04-16 10:56:35 -0600)
----------------------------------------------------------------
Jens Axboe (1):
Merge branch 'arm-select-eintr' of https://github.com/alex310110/fio
alex310110 (1):
helper_thread: Handle EINTR errno from select()
helper_thread.c | 3 +++
1 file changed, 3 insertions(+)
---
Diff of recent changes:
diff --git a/helper_thread.c b/helper_thread.c
index 88614e58..71ad0f60 100644
--- a/helper_thread.c
+++ b/helper_thread.c
@@ -26,6 +26,7 @@ static int sleep_accuracy_ms;
static int timerfd = -1;
enum action {
+ A_NOOP = 0,
A_EXIT = 1,
A_RESET = 2,
A_DO_STAT = 3,
@@ -222,6 +223,8 @@ static uint8_t wait_for_action(int fd, unsigned int timeout_ms)
#endif
res = select(max(fd, timerfd) + 1, &rfds, NULL, &efds,
timerfd >= 0 ? NULL : &timeout);
+ if (res == -1 && errno == EINTR)
+ return A_NOOP;
if (res < 0) {
log_err("fio: select() call in helper thread failed: %s",
strerror(errno));