archiecobbs / s3backer

FUSE/NBD single file backing store via Amazon S3
Other
538 stars 77 forks source link

block cache entry shrink policy not documented #193

Closed Nikratio closed 2 years ago

Nikratio commented 2 years ago

I was wondering which (clean) blocks will be removed from the block cache if the block cache is full and a new entry needs to be inserted. It would be great if the manpage could explain what policy is being used. Is it the least recently used? Or the least frequently used? Or the least recently inserted one?

archiecobbs commented 2 years ago

Thanks, should be fixed in 4b1be32.

Least recently accessed blocks are evicted first.