project-machine / puzzlefs

Apache License 2.0
380 stars 18 forks source link

Memory map the vector of fixed-length inodes for performance #72

Closed ariel-miculas closed 1 year ago

ariel-miculas commented 1 year ago

The puzzlefs metadata blobs start with a vector of fixed-length sorted inode structures. Right now, a binary search algorithm searches through this vector, but it reads from the disk. Memory mapping this vector shoud bring some performance improvements.

ariel-miculas commented 1 year ago

Duplicate of #19