mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
bf18140d30
When a traditional channel-attached device transitions from not-ready to ready state, an unsolicited DEVICE END I/O interrupt is raised. This happens for example when a new file arrives in the z/VM virtual reader device. Change the Linux kernel to generate a change uevent when such an interrupt occurs for any online unit record devices supported by the vmur driver. This can be useful to automatically trigger processing of files as they arrive in the reader device. A sample udev rule for running a program when this event occurs looks as follows: ENV{DRIVER}=="vmur", ACTION=="change", ENV{EVENT}=="unsol_de", \ RUN{program}="/path/to/program" The rule can be tested using the following steps: 1. Set reader device online (assuming default reader device number 000c) $ chzdev -ea 0.0.000c 2. Force a ready-state transition using z/VM's READY CP command $ vmcp ready 000c Suggested-by: Alan Altmark <Alan_Altmark@us.ibm.com> Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Reviewed-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> |
||
---|---|---|
.. | ||
con3215.c | ||
con3270.c | ||
ctrlchar.c | ||
ctrlchar.h | ||
defkeymap.c | ||
defkeymap.map | ||
diag_ftp.c | ||
diag_ftp.h | ||
fs3270.c | ||
hmcdrv_cache.c | ||
hmcdrv_cache.h | ||
hmcdrv_dev.c | ||
hmcdrv_dev.h | ||
hmcdrv_ftp.c | ||
hmcdrv_ftp.h | ||
hmcdrv_mod.c | ||
Kconfig | ||
keyboard.c | ||
keyboard.h | ||
Makefile | ||
monreader.c | ||
monwriter.c | ||
raw3270.c | ||
raw3270.h | ||
sclp_ap.c | ||
sclp_cmd.c | ||
sclp_con.c | ||
sclp_config.c | ||
sclp_cpi_sys.c | ||
sclp_cpi_sys.h | ||
sclp_ctl.c | ||
sclp_diag.h | ||
sclp_early_core.c | ||
sclp_early.c | ||
sclp_ftp.c | ||
sclp_ftp.h | ||
sclp_ocf.c | ||
sclp_pci.c | ||
sclp_quiesce.c | ||
sclp_rw.c | ||
sclp_rw.h | ||
sclp_sd.c | ||
sclp_sdias.c | ||
sclp_sdias.h | ||
sclp_tty.c | ||
sclp_tty.h | ||
sclp_vt220.c | ||
sclp.c | ||
sclp.h | ||
tape_34xx.c | ||
tape_3590.c | ||
tape_3590.h | ||
tape_char.c | ||
tape_class.c | ||
tape_class.h | ||
tape_core.c | ||
tape_proc.c | ||
tape_std.c | ||
tape_std.h | ||
tape.h | ||
tty3270.c | ||
tty3270.h | ||
uvdevice.c | ||
vmcp.c | ||
vmlogrdr.c | ||
vmur.c | ||
vmur.h | ||
zcore.c |