Skip to content

nbd improvements

Josef Bacik linux-block lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 53 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5nbd: convert to blkmqdrivers/block/nbd.c+129 -2080 replies
2/5nbd: don't shutdown sock with irq's disableddrivers/block/nbd.c+15 -40 replies
3/5nbd: use flags instead of booldrivers/block/nbd.c+10 -86 replies
4/5nbd: allow block mq to deal with timeoutsdrivers/block/nbd.c+14 -370 replies
5/5nbd: add multi-connection supportdrivers/block/nbd.c+143 -1242 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RESEND][PATCH 0/5] nbd improvements

Apologies if you are getting this a second time, it appears vger ate my last submission.

----------------------------------------------------------------------

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,

Josef