]> git.baikalelectronics.ru Git - kernel.git/commit
nbd: add a status netlink command
authorJosef Bacik <josef@toxicpanda.com>
Thu, 6 Apr 2017 21:02:05 +0000 (17:02 -0400)
committerJens Axboe <axboe@fb.com>
Mon, 17 Apr 2017 15:58:42 +0000 (09:58 -0600)
commit68b5d1db90bfd694b01aab69105e3c1e6b5a5804
tree194a8be4a065ee133d1ea3f035eb11ffe2ba0af7
parentaa388440c5045f1b4972a9fbf1b276278b120cd3
nbd: add a status netlink command

Allow users to query the status of existing nbd devices.  Right now this
only returns whether or not the device is connected, but could be
extended in the future to include more information.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nbd.c
include/uapi/linux/nbd-netlink.h