3c6fe98eb1
We use two levels of buffers: 1) 4kiB+overhead for each ciphertext block 2) 128kiB+overhead for each FUSE write (32 ciphertext blocks) This commit adds a sync.Pool for both levels. The memory-efficiency for small writes could be improved, as we now always use a 128kiB buffer. |
||
---|---|---|
.. | ||
args.go | ||
ctlsock_interface.go | ||
file_allocate_truncate.go | ||
file_holes.go | ||
file.go | ||
fs_dir.go | ||
fs.go | ||
names.go |