Re: [PATCH net] net: qrtr: ns: retry service announcements on -EAGAIN
From: joonhoekim
Date: Tue Oct 20 2026 - 09:30:33 EST
From: Joonhoe Kim <26rote@xxxxxxxxx>
On Sat, Oct 17, 2026 at 09:24:38AM +0530, Manivannan Sadhasivam wrote:
> This loop is going to block other nodes. announce_servers() is called from
> ordered workqueue which only executes atmost one work item at any point of time.
> So if any other node queues command while this loop is running, it will get
> blocked.
Right, the loop holds the ordered workqueue for up to 10 s.
For v2 I'll drop the loop and retry from a delayed work on
qrtr_ns.workqueue, requeued every 100 ms while the announcement still
gets -EAGAIN. I'm thinking of keeping a time limit like the 10 s in
v1 and cancelling the retry when the node says BYE, but the details
may change once I test it with rmtfs started before the modem. I'll
post it as a new thread.
Thanks,
Joonhoe Kim