kahing / catfs

Cache AnyThing filesystem written in Rust
Apache License 2.0
842 stars 54 forks source link

Add test for large seek #37

Closed gaul closed 4 years ago

gaul commented 4 years ago

Fixes #33.

gaul commented 4 years ago

This test unexpectedly fails on 32-bit with #30 with Os { code: 27, kind: Other, message: "File too large" } but more concerning takes a over 60 seconds to run on 64-bit. Perhaps it uncovers some other strange behavior in catfs?

gaul commented 4 years ago

I fixed the slow test in with the additional commit.

gaul commented 4 years ago

Updating #30 with open64 and openat64 resolves the "File too large" error.