aboutsummaryrefslogtreecommitdiff
path: root/internal/contentenc/intrablock.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-10-14 21:55:37 +0200
committerJakob Unterwurzacher2019-01-01 16:24:09 +0100
commit0c1ceed1fa55e2a9174050c324f679821a5fca8d (patch)
tree284819706e7bf81ad0d140c61e1788d3fcb2303c /internal/contentenc/intrablock.go
parent932efbd4593fe6be6c86f0dafeaea32910b7c246 (diff)
fusefrontend: make GetAttr() symlink-safe
Use openBackingDir() and Fstatat(). High performance impact, though part of it should be mitigated by adding DirIV caching to the new code paths. $ ./benchmark.bash Testing gocryptfs at /tmp/benchmark.bash.Eou: gocryptfs v1.6-37-ge3914b3-dirty; go-fuse v20170619-66-g6df8ddc; 2018-10-14 go1.11 WRITE: 262144000 bytes (262 MB, 250 MiB) copied, 1.2289 s, 213 MB/s READ: 262144000 bytes (262 MB, 250 MiB) copied, 1.02616 s, 255 MB/s UNTAR: 24.490 MD5: 13.120 LS: 3.368 RM: 9.232
Diffstat (limited to 'internal/contentenc/intrablock.go')
0 files changed, 0 insertions, 0 deletions