]> 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)
commite42f2117f38a83d334a24aa83cbab200dd4c49f6
tree194a8be4a065ee133d1ea3f035eb11ffe2ba0af7
parente8a6aba2ff9c29d26fdd07d90fee9cbc51518123
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