Relay Subsystem the 2nd.
Hello,
back to my question last week. I would like to implement a new kernel-modul with the ability to write data from kernelspace to userspace via the new relay subsystem. The less info from block/blktrace.c is insufficient unfortunately. The userspace-program should be able to "listen" to the kernel-modul if there is new data written. My first Implementation with data exchange over copy_to_user() and a char-device is insufficient. So i need an hint for something like blocked-IO for relay-files. Is this possible with the new relay-subsystem?
Thanx in advance
BJO
Quoted 9 lines · Bjo Breiskoll
back to my question last week. I would like to implement a new kernel-modul with the ability to write data from kernelspace to userspace via the new relay subsystem. The less info from
block/blktrace.cis insufficient unfortunately. The userspace-program should be able to "listen" to the kernel-modul if there is new data written. My first Implementation with data exchange overcopy_to_user()and a char-device is insufficient. So i need an hint for something like blocked-IO for relay-files. Is this possible with the new relay-subsystem?
Is there something insufficient with poll() on relay files?
Quoted 1 line
Is there something insufficient with
poll()on relay files?
Sometimes the solution is easy like that.
Thanks .. It works :)
BJO