Re: [PATCH 0/5] nbd improvements

From: Jens Axboe
Date: Thu Sep 08 2016 - 16:14:16 EST


On 09/08/2016 01:33 PM, Josef Bacik wrote:
This is a patch series aimed at bringing NBD into 2016. The two big
components of this series is converting nbd over to using blkmq and
then allowing us to provide more than one connection for a nbd device.
The NBD user space server doesn't care about how many connections it
has to a particular device, so we can easily open multiple
connections to the server and allow blkmq to handle multi-plexing over
the different connections. This drastically improves performance
with multi-threaded workloads over NBD. The multi-connection support
requires some changes to the NBD userspace client code, and you can
find that code here

https://github.com/josefbacik/nbd

I have been testing this for a few months and it is pretty solid and gives
excellent performance improvements. Thanks,

Not only are these nice performance improvements, it also cleans up the
code a lot and kills crufty old driver code in favor of using the proper
APIs instead. I have applied the series for 4.9.

--
Jens Axboe