summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2017-04-06 17:02:00 -0400
committerJens Axboe <axboe@fb.com>2017-04-17 09:58:42 -0600
commite46c7287b1c27683a8e30ca825fb98e2b97f1099 (patch)
tree9721e8a414fd35571b1ffb9a1b98d0e2891db517 /Kbuild
parent29eaadc0364943b6352e8994158febcb699c9f9b (diff)
downloadlinux-e46c7287b1c27683a8e30ca825fb98e2b97f1099.tar.bz2
nbd: add a basic netlink interface
The existing ioctl interface for configuring NBD devices is a bit cumbersome and hard to extend. The other problem is we leave a userspace app sitting in it's syscall until the device disconnects, which is less than ideal. This patch introduces a netlink interface for adding and disconnecting nbd devices. This has the benefits of being easily extendable without breaking older userspace applications, and allows us to configure a nbd device without leaving a userspace app sitting waiting for the device to disconnect. With this interface we also gain the ability to configure more devices than are preallocated at insmod time. We also have gained the ability to not specify a particular device and be provided one for us so that userspace doesn't need to find a free device to configure. Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions