mirror of
https://github.com/versity/scoutfs.git
synced 2026-02-04 09:42:06 +00:00
We were setting sk_allocation on the quorum UDP sockets to prevent entering reclaim while using sockets but we missed setting it on the regular messaging TCP sockets. This could create deadlocks where the sending socket could enter scoutfs reclaim and wait for server messages while holding the socket lock, preventing the receive thread from receiving messages while it blocked on the socket lock. The fix is to prevent entering the FS to reclaim during socket allocations. Signed-off-by: Zach Brown <zab@versity.com>