summaryrefslogtreecommitdiff
path: root/firmware/keyspan_pda
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2015-07-27 07:36:49 +0200
committerMarkus Pargmann <mpa@pengutronix.de>2016-02-15 10:35:47 +0100
commit37091fdd831f28a6509008542174ed324dd645bc (patch)
treecc38c0cfa314f63e7f63aa309024fe61b15963ea /firmware/keyspan_pda
parentda6ccaaa79caca4f38b540b651238f87215217a2 (diff)
nbd: Create size change events for userspace
The userspace needs to know when nbd devices are ready for use. Currently no events are created for the userspace which doesn't work for systemd. See the discussion here: https://github.com/systemd/systemd/pull/358 This patch uses a central point to setup the nbd-internal sizes. A ioctl to set a size does not lead to a visible size change. The size of the block device will be kept at 0 until nbd is connected. As soon as it connects, the size will be changed to the real value and a uevent is created. When disconnecting, the blockdevice is set to 0 size and another uevent is generated. Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Diffstat (limited to 'firmware/keyspan_pda')
0 files changed, 0 insertions, 0 deletions