server: rewrite message handling
authorJens Axboe <axboe@fb.com>
Thu, 10 Dec 2015 22:32:15 +0000 (15:32 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 10 Dec 2015 22:32:15 +0000 (15:32 -0700)
commitf77d4b73613adbce2177576afd591a3322774329
treecf4096e30dab519b031df6a82b7b03280f203caf
parent408e0b90d74196f173c2008bc0034b70e9b56ddf
server: rewrite message handling

Currently we don't do any synchronization when we send out
network messages, this can cause a variety of issues. Instead
of adding serialization for transmits, let the messages queue
up in the network backend, and let the backend send them out.

Work in progress, not everything has been tested with this.

Signed-off-by: Jens Axboe <axboe@fb.com>
iolog.c
server.c
server.h