Zach Brown 30d5471e4a scoutfs: call net response func outside lock
Today response processing calls a requests's response callback from
inside the net spinlock.  This happened to work for the synchronous
blocking request handler who only had to record the result and wake
their waiter.

It doesn't work for server compact response processing which needs to
use IO to commit the result of the compaction.

This lifts the call to the response function out of complete_send() and
into the response processing work function.  Other complete_send()
callers now won't trigger the response function call and can't see
errors, which they all ignored anyway.

Signed-off-by: Zach Brown <zab@versity.com>
2018-08-28 15:34:30 -07:00
Description
No description provided
9.1 MiB
Languages
C 86.2%
Shell 10.2%
Roff 2.5%
TeX 0.8%
Makefile 0.3%