Comments (3)
I did some searches and NBD seems to be the only reasonable way to implement a block device driver in user space on Linux without a custom kernel module.
There's also a simple abstraction layer which we probably could partially reuse.
from gneiss.
I couldn't find any user-space alternative to NBD for implementing block devices on Linux either. Linking our components with more untrusted code like BUSE feels like a step into the wrong direction, though. Especially as this would only be applicable to Linux hosts.
If we pursue the NBD idea, we should rather define a network (stream) server interface for CAI and implement the NBD protocol using RecordFlux. This way we'd gain a trusted component that can run on different platforms and we would extend CAI with another useful session type that is tested in a real-world setting.
An interesting different direction is the one we discussed lately, moving our components into the Linux kernel by implementing a Linux kernel platform in the runtime and CAI. Running Ada code inside the kernel has been done. Implementing block servers should be trivial then.
from gneiss.
I didn't consider BUSE as a dependency to link against but rather a proof of concept that we could look into when creating our own implementation. I also opened #51 to discuss the platform definition issue separately.
from gneiss.
Related Issues (20)
- Timer session on Linux HOT 1
- Consolidation HOT 1
- Prove tests HOT 9
- Prove broker HOT 1
- Fix file descriptor leaks
- Allow proving, editing and compiling as different commands in cement HOT 1
- Prove globals HOT 4
- Custom parameters for generic operations HOT 3
- GPIO Debug HOT 1
- Update ada-runtime, rename init to core/linux HOT 1
- Add support for different platforms to cement HOT 1
- Matrix Demo
- ICMP Demo HOT 4
- Update README HOT 1
- Global platform state for volatile inputs
- Update to CE 2020 HOT 5
- Update to RecordFlux 0.4.0 HOT 1
- Stream interface HOT 1
- Run checkers on cement
- SPI driver
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gneiss.