v9fs / linux

Linux kernel source tree
Other
2 stars 2 forks source link

fix readahead caching #15

Closed ericvh closed 1 year ago

ericvh commented 1 year ago

this is a subcomponent of #4 - make sure simple readahead caching is working as expected.

for readahead we expect to see larger reads that "just work". what's less clear to me is whether or not this should include keeping reads around for subsequent reads which seems to be a different semantic.

ericvh commented 1 year ago

current readahead does not keep the cache around. We should understand this better, although this may be a property of everything we put in to flush caches on close. At the very least we probably want to play with conditionalizing these based on loose which we might be able to back off to tight when we finally implement it.

ericvh commented 1 year ago

fixed 785413c6e8eb8a65df37436c6a48af47043cb7c4