Comments (2)
Are trim request required to be acknowledged? Since they only tell the block device that it can discard a range of blocks. Since the server is not required to provide anything to the client it shouldn't be necessary to acknowledge the trim. Aside from this the sync shouldn't be needed to acknowledged either (as it is only a marker for the server and the client can enqueue further requests after the sync and be sure that anything before the sync will be executed).
If we have to acknowledge sync and trim request the "empty" implementation on Genode would become a bit more complicated since we have to insert fake acknowledges which will also not trigger the event handler.
from gneiss.
Trim
is just a hint to the underlying component, i don't think it has to be acknowledged.
Regarding Sync
: This operation actually takes offset and block range (cf. 3.51- SYNCHRONIZE CACHE (10) of Direct Access Block commands). We should make it a "normal" request again to support those scenarios.
Regarding missing platform support: When a primitive is unsupported on a platform in general, we should not fake it, but give the client a mechanism to detect it and cope with it. Idea: Add a supported()
predicate (similar to ready()
) which is a precondition to Enqueue()
and is implemented by the platform. Before enqueuing a request, the component has to check whether its supported and take measures if not.
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.