<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal, branch v2.0-beta4</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.0-beta4</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.0-beta4'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2021-05-15T15:20:43+00:00</updated>
<entry>
<title>fusefrontend: fix RENAME_NOREPLACE darwin build failure</title>
<updated>2021-05-15T15:20:43+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-05-15T15:19:49+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=a91ad29d362e8cb5348766da637202ac8905b9f2'/>
<id>urn:sha1:a91ad29d362e8cb5348766da637202ac8905b9f2</id>
<content type='text'>
Error was:

internal/fusefrontend/node.go:371:2: duplicate case syscallcompat.RENAME_NOREPLACE (value 0) in switch
	previous case at internal/fusefrontend/node.go:368:7

Rewrite using "if"s instead.
</content>
</entry>
<entry>
<title>fusefrontend: avoid duplicate const definition</title>
<updated>2021-05-08T18:42:42+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-05-08T18:42:18+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=1ba2e42234b973260066623bb7eeda4c8b936d8e'/>
<id>urn:sha1:1ba2e42234b973260066623bb7eeda4c8b936d8e</id>
<content type='text'>
RENAME_NOREPLACE is already defined in syscallcompat.
</content>
</entry>
<entry>
<title>fusefrontend: reject broken RENAME_EXCHANGE and RENAME_WHITEOUT</title>
<updated>2021-05-08T13:39:49+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-05-08T13:39:49+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=a267562d291b15c192837da6f74c991892570fd6'/>
<id>urn:sha1:a267562d291b15c192837da6f74c991892570fd6</id>
<content type='text'>
Discovered by xfstests generic/013: or implementation for
RENAME_EXCHANGE and RENAME_WHITEOUT is incomplete. Reject the
flags so that the caller retries with regular rename.
</content>
</entry>
<entry>
<title>fusefrontend: make dirCache work for "node itself"</title>
<updated>2021-04-07T05:18:35+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-04-07T05:15:14+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=4a07d6598cc2633634f7ff8485b506f2a8bd3eaf'/>
<id>urn:sha1:4a07d6598cc2633634f7ff8485b506f2a8bd3eaf</id>
<content type='text'>
"node itself" can be converted to node + child by
ascending one level.

Performance gains are spectacular, as will be seen
in the next commit.
</content>
</entry>
<entry>
<title>fusefrontend: print dirCache stats after unmount</title>
<updated>2021-04-05T16:20:17+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-04-05T16:20:17+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=f73aee72f87ba6cd3e46184ae75824fd38250f04'/>
<id>urn:sha1:f73aee72f87ba6cd3e46184ae75824fd38250f04</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fs: more idiomatic dirCache struct naming</title>
<updated>2021-04-04T11:05:47+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-04-04T11:05:47+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=043f81dd0129b78ec7d4553843f90203535fa406'/>
<id>urn:sha1:043f81dd0129b78ec7d4553843f90203535fa406</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fs: add initial dirfd caching</title>
<updated>2021-04-03T11:08:28+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-04-03T11:08:28+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=24d5d39300629de48bb5a3700b0c219f741da028'/>
<id>urn:sha1:24d5d39300629de48bb5a3700b0c219f741da028</id>
<content type='text'>
dirfd caching was temporarily removed when moving
to the v2api. Add it back to gain back some lost speed.
</content>
</entry>
<entry>
<title>tests: fusefronted: fix TestOpenBackingDir</title>
<updated>2021-04-03T10:34:18+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-04-03T10:29:17+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=6aae2aad97aee1d269fdbafab6eafa6ff997a73a'/>
<id>urn:sha1:6aae2aad97aee1d269fdbafab6eafa6ff997a73a</id>
<content type='text'>
This test only worked accidentially, and would
break once dirfd caching is added.

fs.Mkdir(..., "dir1/dir2", ...) is illegal
(child name cannot contain slashes).
</content>
</entry>
<entry>
<title>fusefronted: replace last rn.openBackingDir() calls</title>
<updated>2021-04-03T09:19:04+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-04-03T09:19:04+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=6b28c0be2ce1a2a90a1d186adf91052d5192a55e'/>
<id>urn:sha1:6b28c0be2ce1a2a90a1d186adf91052d5192a55e</id>
<content type='text'>
Use the n.prepareAtSyscall() wrapper instead. Prepares
for adding caching into n.prepareAtSyscall().
</content>
</entry>
<entry>
<title>fusefronted: move Create() and Open() to new file</title>
<updated>2021-03-21T08:31:05+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-03-21T08:31:05+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=3b9a1b628b11a9deb03a8fe7e6022e75b16ded49'/>
<id>urn:sha1:3b9a1b628b11a9deb03a8fe7e6022e75b16ded49</id>
<content type='text'>
And deduplicate the code a little.
</content>
</entry>
</feed>
