<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/fusefrontend/names_test.go, branch xattr_user_buffer</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=xattr_user_buffer</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=xattr_user_buffer'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2019-01-02T20:52:52+00:00</updated>
<entry>
<title>fusefrontend: move openBackingDir into its own file</title>
<updated>2019-01-02T20:52:52+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-02T20:52:52+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=352f3147c5f1260cf729692d945c87e210cb1ad8'/>
<id>urn:sha1:352f3147c5f1260cf729692d945c87e210cb1ad8</id>
<content type='text'>
This function is in all fastpaths, will get a cache, and needs
its own file.
renamed:    internal/fusefrontend/names.go -&gt; internal/fusefrontend/openbackingdir.go
renamed:    internal/fusefrontend/names_test.go -&gt; internal/fusefrontend/openbackingdir_test.go
</content>
</entry>
<entry>
<title>fusefrontend: make openBackingDir() symlink-safe</title>
<updated>2019-01-01T15:24:09+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-10-14T18:11:49+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=932efbd4593fe6be6c86f0dafeaea32910b7c246'/>
<id>urn:sha1:932efbd4593fe6be6c86f0dafeaea32910b7c246</id>
<content type='text'>
openBackingDir() used encryptPath(), which is not symlink-safe
itself. Drop encryptPath() and implement our own directory walk.

Adds three seconds to untar and two seconds to rm:

$ ./benchmark.bash
Testing gocryptfs at /tmp/benchmark.bash.MzG: gocryptfs v1.6-36-g8fb3c2f-dirty; go-fuse v20170619-66-g6df8ddc; 2018-10-14 go1.11
WRITE: 262144000 bytes (262 MB, 250 MiB) copied, 1.25078 s, 210 MB/s
READ:  262144000 bytes (262 MB, 250 MiB) copied, 1.0318 s, 254 MB/s
UNTAR: 20.941
MD5:   11.568
LS:    1.638
RM:    5.337
</content>
</entry>
</feed>
