• J
    nbd: add multi-connection support · 9561a7ad
    Josef Bacik 提交于
    NBD can become contended on its single connection.  We have to serialize all
    writes and we can only process one read response at a time.  Fix this by
    allowing userspace to provide multiple connections to a single nbd device.  This
    coupled with block-mq drastically increases performance in multi-process cases.
    Thanks,
    Signed-off-by: NJosef Bacik <jbacik@fb.com>
    Signed-off-by: NJens Axboe <axboe@fb.com>
    9561a7ad
nbd.c 26.7 KB