Skip to content

Commit ec609ea

Browse files
committed
F2FS.
1 parent 7bab8bb commit ec609ea

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

internal/util/alloc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func (m *mmappedMemory) Reallocate(size uint64) []byte {
5454
panic(err)
5555
}
5656

57-
// Update commited memory.
57+
// Update committed memory.
5858
m.buf = m.buf[:new]
5959
}
6060
// Limit returned capacity because bytes beyond

vfs/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ with `EXCLUSIVE` locking mode you should disable connection pooling by calling
6666
You can use [`vfs.SupportsSharedMemory`](https://pkg.go.dev/github.com/ncruces/go-sqlite3/vfs#SupportsSharedMemory)
6767
to check if your platform supports shared memory.
6868

69+
### Batch-Atomic Write
70+
71+
On 64-bit Linux, this module supports [batch-atomic writes](https://sqlite.org/cgi/src/technote/714)
72+
on the F2FS filesystem.
73+
6974
### Build tags
7075

7176
The VFS can be customized with a few build tags:

vfs/os_f2fs_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build (amd64 || arm64) && !sqlite3_nosys
1+
//go:build (amd64 || arm64 || riscv64) && !sqlite3_nosys
22

33
package vfs
44

vfs/os_std_atomic.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !linux || !(amd64 || arm64) || sqlite3_nosys
1+
//go:build !linux || !(amd64 || arm64 || riscv64) || sqlite3_nosys
22

33
package vfs
44

0 commit comments

Comments
 (0)