Use non-blocking I/O for lsm_store #19
Labels
No labels
Kind/Bug
Kind/Enhancement
Kind/Feature
Project/Lander
Project/Landerctl
idea
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Chewing_Bever/lander#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Both the db files & the entry data files currently use blocking I/O. Ideally the application solely uses non-blocking I/O, so these file accesses should also be non-blocking.
After some research, it seems that it isn't actually possible to set a regular file to non-blocking, as the kernel would stil need to block if data needs to be retrieved from the file system.
Perhaps we could add some manual caching to the LSM store that relegates this, but for the way this issue's currently phrased this isn't possible.