commit | 9747f1fbe9b07aa8bd06382e5d1f1825fd57c143 | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fb.com> | Thu Sep 08 17:12:10 2016 -0400 |
committer | Josef Bacik <jbacik@fb.com> | Tue Nov 22 14:06:07 2016 -0500 |
tree | a691df3cbd94d5bd2f031db700af1e18553c6c00 | |
parent | 5a514471dc2deeb53cc535251264918d48db4fa8 [diff] |
nbd: add multi-connection support 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>