shithub: gefs

Download patch

ref: 2ed6139f5d5ce9a369c44fd3a88b86a309964891
parent: bf1741f8242dc7040e8ee66f4f8c6a1dad7018a4
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Dec 17 22:13:17 EST 2023

todo: update list

--- a/TODO
+++ b/TODO
@@ -1,15 +1,1 @@
-*** issues, need to fix ***
-- stop aborting on corruption or weirdness
-- clean up error handling
-- transient exec snapshots
-- testing, debugging, bugfixes
-- fsck
-
-*** nice to have, can go without ***
-- reclaiming data from deleted files is very delayed
-- add missing management commands in console
-- performance optimization:
-	- bulk block frees
-	- root block fast upsert
-- small file optimizations
-	- inline data
+- docs
--- a/atomic-amd64.s
+++ b/atomic-amd64.s
@@ -12,6 +12,7 @@
 	MOVL		v+8(FP), AX
 	LOCK; XCHGL	(RARG), AX
 	RET
+
 TEXT asetv+0(SB),1,$0
 TEXT asetp+0(SB),1,$0
 	MOVQ		v+8(FP), AX
--- a/hash.c
+++ b/hash.c
@@ -146,8 +146,8 @@
 u32int
 ihash(uvlong x)
 {
-    x = (x ^ (x >> 30)) * 0xbf58476d1ce4e5b9ULL;
-    x = (x ^ (x >> 27)) * 0x94d049bb133111ebULL;
-    x = x ^ (x >> 31);
-    return x;
+	x = (x ^ (x >> 30)) * 0xbf58476d1ce4e5b9ULL;
+	x = (x ^ (x >> 27)) * 0x94d049bb133111ebULL;
+	x = x ^ (x >> 31);
+	return x;
 }