Skip to content

Disk cache with UniversalRead for slow disk - #8467

Closed
coszio wants to merge 8 commits into
devfrom
disk-cache-generic
Closed

coszio wants to merge 8 commits into
devfrom
disk-cache-generic

Conversation

@coszio

@coszio coszio commented Mar 20, 2026 •

Copy link
Copy Markdown
Contributor

Builds on top of #8466

  • adds a prevent_caching parameter for OpenOptions, so that, if possible for the implementation, it skips caching the reads.
    • this lets CachedFile be opened with a generic backend for reading from the slow disk. Particularly, it chooses IoUringFile by default.
  • add read_batch implementation all the way into fetching from slow disk.

@coszio coszio mentioned this pull request Mar 20, 2026
3 of 9 tasks
@coszio
coszio force-pushed the disk-cache-generic branch 2 times, most recently from dae7eb7 to 61d25dc Compare March 20, 2026 22:10
@coszio
coszio force-pushed the disk-cache-generic branch from 61d25dc to ac26e2e Compare March 23, 2026 16:39
@coszio
coszio force-pushed the disk-cache-generic branch from f92eae3 to 6421dd2 Compare March 23, 2026 19:01
Base automatically changed from disk-cache to dev March 25, 2026 14:39
@coszio
coszio force-pushed the disk-cache-generic branch 3 times, most recently from f176edb to d8d6cb2 Compare March 25, 2026 19:41
@coszio
coszio changed the base branch from dev to io-uring-nits March 25, 2026 19:42
@coszio
coszio force-pushed the disk-cache-generic branch from d8d6cb2 to c37ec71 Compare March 25, 2026 19:50
Base automatically changed from io-uring-nits to dev March 26, 2026 14:56
@coszio
coszio force-pushed the disk-cache-generic branch from c37ec71 to e9db169 Compare March 27, 2026 16:30
@coszio
coszio force-pushed the disk-cache-generic branch from e9db169 to 0be286c Compare April 17, 2026 19:16
@coszio

coszio commented May 19, 2026

Copy link
Copy Markdown
Contributor Author

Not committing to this implementation for now

@coszio coszio closed this May 19, 2026
@generall
generall deleted the disk-cache-generic branch May 30, 2026 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant