diff options
author | Marc Olson <marcolso@amazon.com> | 2017-04-11 22:24:09 +0300 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2017-04-18 18:10:55 +0300 |
commit | 89515d0255c918e08aa4085956c79bf17615fda5 (patch) | |
tree | 65d4ebcda8ac1811ed7517db7feff02aac009380 /drivers/block/xen-blkback | |
parent | a2c97909f97ef32b76e856572fba4f77e1885fe6 (diff) | |
download | linux-89515d0255c918e08aa4085956c79bf17615fda5.tar.xz |
blkfront: add uevent for size change
When a blkfront device is resized from dom0, emit a KOBJ_CHANGE uevent to
notify the guest about the change. This allows for custom udev rules, such
as automatically resizing a filesystem, when an event occurs.
With this patch you get these udev
KERNEL[577.206230] change /devices/vbd-51728/block/xvdb (block)
UDEV [577.226218] change /devices/vbd-51728/block/xvdb (block)
Signed-off-by: Marc Olson <marcolso@amazon.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/block/xen-blkback')
0 files changed, 0 insertions, 0 deletions