{"id":18257792,"url":"https://github.com/tomlobato/hash_fs","last_synced_at":"2026-05-02T06:38:02.881Z","repository":{"id":77468456,"uuid":"119323263","full_name":"tomlobato/hash_fs","owner":"tomlobato","description":"Flat, hash based, Filesystem","archived":false,"fork":false,"pushed_at":"2018-03-18T15:51:19.000Z","size":231,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T17:57:27.446Z","etag":null,"topics":["c","filesystem","kernel-module","linux"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomlobato.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-29T02:53:00.000Z","updated_at":"2018-03-18T15:51:20.000Z","dependencies_parsed_at":"2023-04-30T17:47:13.608Z","dependency_job_id":null,"html_url":"https://github.com/tomlobato/hash_fs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomlobato%2Fhash_fs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomlobato%2Fhash_fs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomlobato%2Fhash_fs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomlobato%2Fhash_fs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomlobato","download_url":"https://codeload.github.com/tomlobato/hash_fs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247941720,"owners_count":21022037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","filesystem","kernel-module","linux"],"created_at":"2024-11-05T10:27:46.169Z","updated_at":"2026-05-02T06:37:57.858Z","avatar_url":"https://github.com/tomlobato.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"HashFs is a [flat filesystem](https://en.wikipedia.org/wiki/File_system#Flat_file_systems) written for learning purposes \nwith a specific workload in mind:\n\n- Stores milions of files,\n- High creat, low unlink rates,\n- Fast file lookup.\n\n#### It Uses... ####\n\n- The ridiculously fast XXHash, borrowed from dev kernel to the currently stable 4.15.10 (https://lwn.net/Articles/726337/).\n- A list of block Extents for file data, mapped in a array [(start, length), ...] stored at the end of the last data block.\n\n#### Disk Layout\n\nblk 0 / byte 1024    \nsuperblock -- hash keys bitmap -- hash keys  --  inodes -- data\n\n[metadata size calulations](https://docs.google.com/spreadsheets/d/1HkgOJFZwWhxS5sdxalrPe4urQfaviGriIXZLOjGbrfY/edit#gid=0)\n\n#### Refs\n\n- https://github.com/torvalds/linux/tree/master/fs/ext2\n- https://github.com/torvalds/linux/blob/master/Documentation/kernel-hacking/hacking.rst\n- https://github.com/torvalds/linux/blob/master/Documentation/kernel-hacking/hacking.rst#recipes-for-deadlock\n- https://github.com/torvalds/linux/blob/master/Documentation/kernel-hacking/hacking.rst#common-routines\n- https://stackoverflow.com/questions/16390004/change-default-console-loglevel-during-boot-up\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomlobato%2Fhash_fs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomlobato%2Fhash_fs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomlobato%2Fhash_fs/lists"}