Recent changes (master)
Jens Axboe <[email protected]> Fri, 6 Feb 2026 06:00:01 -0700
| Newsgroups | org.kernel.vger.fio |
|---|---|
| Message-ID | <[email protected]> |
The following changes since commit 5e5975a411cfd2af04c49f8d822e8e06a01a3771:
Merge branch 'sprandom-fix' of https://github.com/tomas-winkler-sndk/fio (2026-02-02 08:05:59 -0500)
are available in the Git repository at:
git://git.kernel.dk/fio.git master
for you to fetch changes up to a8ab726842f4140dfcdb4240138f1abba9b54c05:
Merge branch 'offload_fix' of https://github.com/tomas-winkler-sndk/fio (2026-02-05 13:14:38 -0700)
----------------------------------------------------------------
Chana Zaks (1):
workqueue: fix threads stall when running with io_submit_mode offload
Jens Axboe (1):
Merge branch 'offload_fix' of https://github.com/tomas-winkler-sndk/fio
workqueue.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
Diff of recent changes:
diff --git a/workqueue.c b/workqueue.c
index 3636bc3a..e3ff0323 100644
--- a/workqueue.c
+++ b/workqueue.c
@@ -285,6 +285,7 @@ static int start_worker(struct workqueue *wq, unsigned int index,
sw->wq = wq;
sw->index = index;
sw->sk_out = sk_out;
+ sw->flags = 0;
if (wq->ops.alloc_worker_fn) {
ret = wq->ops.alloc_worker_fn(sw);
@@ -295,7 +296,7 @@ static int start_worker(struct workqueue *wq, unsigned int index,
ret = pthread_create(&sw->thread, NULL, worker_thread, sw);
if (!ret) {
pthread_mutex_lock(&sw->lock);
- sw->flags = SW_F_IDLE;
+ sw->flags |= SW_F_IDLE;
pthread_mutex_unlock(&sw->lock);
return 0;
}