server: Log thread model at startup
commit102f3d480a3893b5cc08c1422f891ee8da91e266
authorEric Blake <eblake@redhat.com>
Thu, 15 Aug 2019 21:30:50 +0000 (15 16:30 -0500)
committerEric Blake <eblake@redhat.com>
Fri, 16 Aug 2019 13:08:04 +0000 (16 08:08 -0500)
tree7487f4f1d1179e11e6a40037645018c9d93d9a3f
parentd5b6da9be6f8009a334da72469072b35fe435e70
server: Log thread model at startup

'nbdkit --dump-plugin ...' is nice for command-line querying of the
thread model, but doesn't show up in log files.  Refactor the
model-to-string code, and add a debug statement when the thread model
is locked in.  Missed in commit f12371c8.

Signed-off-by: Eric Blake <eblake@redhat.com>
server/internal.h
server/locks.c
server/plugins.c