Sumit, > We have a requirement wherein the userland application/daemon > waits/listens for asynchronous driver/firmware events. With driver > IOCTLs, we were using the "fasync" interface for this. How can we > achieve the same with bsg interface ? Going forward I suspect io_uring is going to be the preferred interface for async I/O. But for now can't you just wait for events in a separate thread? -- Martin K. Petersen Oracle Linux Engineering