MEDIUM: checks: Make sure we return the tasklet from srv_chk_io_cb

In srv_chk_io_cb, return the tasklet to tell the scheduler the tasklet
is still alive, it is not yet needed, but will be soon.
This commit is contained in:
Olivier Houchard 2025-04-25 12:59:37 +02:00
parent beb23069c6
commit 81dc3e67cf

View File

@ -1105,7 +1105,7 @@ struct task *srv_chk_io_cb(struct task *t, void *ctx, unsigned int state)
struct stconn *sc = ctx;
wake_srv_chk(sc);
return NULL;
return t;
}
/* returns <0, 0, >0 if check thread 1 is respectively less loaded than,