datto / kmod-dblock Goto Github PK
View Code? Open in Web Editor NEWkernel module to implement the backing data source for a block device in userspace
License: GNU Lesser General Public License v2.1
kernel module to implement the backing data source for a block device in userspace
License: GNU Lesser General Public License v2.1
SIGURG is (ab)used by the golang runtime for its non-cooperative goroutine pre-emption implementation.
These signals are caught in dblock's interruptible wait handler:
Feb 27 23:35:54 behrlich-ubuntu kernel: [ 2723.703537] dblock:[3884] error userspace: Got signal 23 waiting for cv: 22
Feb 27 23:35:54 behrlich-ubuntu kernel: [ 2723.703539] dblock:[3884] error userspace: userspace cv_wait for block_cv exited because of signal, unlocking mutex, returning error to ioctl, signal_number 23: -4
Which causes my driver to receive EINTR and crash.
SIGURG should simply be ignored.
I am parallelizing my user space integration. It works! I see both my threads getting work from the kernel. The problem is that when I signal destroy (using destroy device by ID) only one of my threads is halted. The other thread gets stuck sleeping in block for request
.
Let me know if there's any other info I can provide.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.