commit | 9561a7ade0c205bc2ee035a2ac880478dcc1a024 | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fb.com> | Tue Nov 22 14:04:40 2016 -0500 |
committer | Jens Axboe <axboe@fb.com> | Tue Nov 22 12:16:32 2016 -0700 |
tree | 3c638cde9063a2461b9767ec626b4359445c662a | |
parent | e00f4f4d0ff7e13b9115428a245b49108d625f09 [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> Signed-off-by: Jens Axboe <axboe@fb.com>