[SRU][Xenial][PATCH 0/1] nbd: Create size change events for userspace

Joseph Salisbury joseph.salisbury at canonical.com
Fri Oct 20 17:33:36 UTC 2017

BugLink: http://bugs.launchpad.net/bugs/696435

== SRU Justification ==
Kernel does not generate any events when ndb-client connects /dev/nbd0 
devices, therefore it is impossible to monitor/react to the state of /dev/nbd0.

This bug is fixed by commit 37091fdd831f28a6509008542174ed324dd645bc, which is 
in mainline as of 4.6-rc1.

== Fix ==
commit 37091fdd831f28a6509008542174ed324dd645bc
Author: Markus Pargmann <mpa at pengutronix.de>
Date:   Mon Jul 27 07:36:49 2015 +0200

    nbd: Create size change events for userspace

== Regression Potential ==
There is no change to existing uevents, or their ordering.
There is now an addition change event which will cause systemd to mark ndb 
devices as ready and trigger appropriate actions

== Test Case ==
A test kernel was built with this patch and tested by the original bug reporter.
The bug reporter states the test kernel resolved the bug.

Markus Pargmann (1):
  nbd: Create size change events for userspace

 drivers/block/nbd.c | 79 +++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 58 insertions(+), 21 deletions(-)


More information about the kernel-team mailing list