]> git.baikalelectronics.ru Git - kernel.git/commit
nbd: multicast dead link notifications
authorJosef Bacik <josef@toxicpanda.com>
Thu, 6 Apr 2017 21:02:02 +0000 (17:02 -0400)
committerJens Axboe <axboe@fb.com>
Mon, 17 Apr 2017 15:58:42 +0000 (09:58 -0600)
commitb2786594fd958e6138adaba9854beaac2d3a26c2
tree9874bb8e01ae7d609a909e62165e2d79bd631fc2
parentb0794e85464e5f62c756c9356011acdacb33b5ec
nbd: multicast dead link notifications

Provide a mechanism to notify userspace that there's been a link problem
on a NBD device.  This will allow userspace to re-establish a connection
and provide the new socket to the device without disrupting the device.

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