commit | b334c42d1528220b60ccb35c30da1e8a5dac867a | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fb.com> | Thu Sep 08 17:12:10 2016 -0400 |
committer | Josef Bacik <jbacik@fb.com> | Tue Sep 13 16:59:34 2016 -0400 |
tree | 42941f8d56b7723d93104c133da7468216bd7267 | |
parent | f53f9c50eb50801ad3374068972bf3173f9ae48f [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>