Skip to content

Commit

Permalink
nbd: add multi-connection support
Browse files Browse the repository at this point in the history
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: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
  • Loading branch information
Josef Bacik authored and Jens Axboe committed Nov 22, 2016
1 parent e00f4f4 commit 9561a7a
Show file tree
Hide file tree
Showing 2 changed files with 243 additions and 148 deletions.
Loading

0 comments on commit 9561a7a

Please sign in to comment.