From 49684178901a3d5db198032da1bb831b2b3e0b65 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 19 Jul 2022 22:42:52 +0000 Subject: lei: avoid deadlock on inotify/EVFILT_VNODE wakeups Enqueuing "note-event" requests from the DS event loop must not wait on workers being able to drain the queue quickly enough. Thus we make the SOCK_SEQPACKET writes nonblocking and rely on the lei-daemon event loop to enqueue writes. This is a unique problem for "note-event" since it reuses workers in between commands, while most lei commands currently fork off new workers. --- MANIFEST | 1 + 1 file changed, 1 insertion(+) (limited to 'MANIFEST') diff --git a/MANIFEST b/MANIFEST index 607a4c5b..209fb7d5 100644 --- a/MANIFEST +++ b/MANIFEST @@ -334,6 +334,7 @@ lib/PublicInbox/V2Writable.pm lib/PublicInbox/View.pm lib/PublicInbox/ViewDiff.pm lib/PublicInbox/ViewVCS.pm +lib/PublicInbox/WQBlocked.pm lib/PublicInbox/WQWorker.pm lib/PublicInbox/WWW.pm lib/PublicInbox/WWW.pod -- cgit v1.2.3-24-ge0c7