• Josef Bacik's avatar
    nbd: add multi-connection support · 9561a7ad
    Josef Bacik authored
    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: default avatarJosef Bacik <jbacik@fb.com>
    Signed-off-by: default avatarJens Axboe <axboe@fb.com>
    9561a7ad
nbd.c 26.7 KB