preloader

Open AFS

illustrations illustrations illustrations illustrations illustrations illustrations illustrations
Open AFS
Project snapshot

Open AFS

Add file reverse lookup index in AFS

Date

Jun 24, 2022

Developed at
Google Summer of Code
Focus areas
C Storage System
Project link
Link below

Project Details

Project Submission link

OpenAFS is a distributed file system. Currently, it has “File ID” or FID to “entry” or name lookup functionality, AKA, reverse lookup and also normal lookup, which is “name” for a given FID. Inverse Lookup is currently computationally expensive because the algorithm scans a hash index data structure embedded within a “Directory object” (which has key:name, value: FID) looking for a name that matches the given FID. It is not performant as it’s merely brute-forcing the search.

So my code changes add a completely new feature, a key-value database built on top of LMDB, and along with it low-level unit tests, and overall feature tests using the Robotest framework.

Three GitHub repositories have my work: