<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/fusefrontend/node_prepare_syscall.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>2025-05-29T19:38:25+00:00</updated>
<entry>
<title>idleMonitor: switch to the new atomic.Bool api</title>
<updated>2025-05-29T19:38:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-05-29T19:30:53+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=2609c72beee098c6afe4bbc3344a1fcee06df94b'/>
<id>urn:sha1:2609c72beee098c6afe4bbc3344a1fcee06df94b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>go mod: declare module version v2</title>
<updated>2021-08-23T13:05:15+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-08-23T13:05:15+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=69d88505fd7f4cb0d9e4f1918de296342fe05858'/>
<id>urn:sha1:69d88505fd7f4cb0d9e4f1918de296342fe05858</id>
<content type='text'>
Our git version is v2+ for some time now, but go.mod
still declared v1. Hopefully making both match makes
https://pkg.go.dev/github.com/rfjakob/gocryptfs/v2 work.

All the import paths have been fixed like this:

  find . -name \*.go | xargs sed -i s%github.com/rfjakob/gocryptfs/%github.com/rfjakob/gocryptfs/v2/%
</content>
</entry>
<entry>
<title>Implement -deterministic-names: extended -zerodiriv</title>
<updated>2021-08-20T08:58:42+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-08-20T08:57:26+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=195d9d18a90d88ff2cb0530d832c59d98934fd1f'/>
<id>urn:sha1:195d9d18a90d88ff2cb0530d832c59d98934fd1f</id>
<content type='text'>
-deterministc-names uses all-zero dirivs but does not write
them to disk anymore.
</content>
</entry>
<entry>
<title>fusefrontend: prepareAtSyscall: handle error when opening ourselves</title>
<updated>2021-07-31T08:53:32+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-07-31T08:53:32+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=1dfd6b7b765c82c4c9cf6d41ec6d6ed5f6cb2a79'/>
<id>urn:sha1:1dfd6b7b765c82c4c9cf6d41ec6d6ed5f6cb2a79</id>
<content type='text'>
Error handling was missing here, so we would later get confusing
EBADF errors due to dirfd being -1.
</content>
</entry>
<entry>
<title>fusefrontend: convert last callers from openBackingDir to prepareAtSyscall</title>
<updated>2021-06-26T16:49:54+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-06-26T16:44:52+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=5306fc345be41371820ea50a3f64efab08f2e74c'/>
<id>urn:sha1:5306fc345be41371820ea50a3f64efab08f2e74c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fusefrontend: implement recursive diriv caching</title>
<updated>2021-06-25T11:56:53+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-06-25T09:33:18+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=84e702126ac4f017e12150532bfaed675dee2927'/>
<id>urn:sha1:84e702126ac4f017e12150532bfaed675dee2927</id>
<content type='text'>
The new contrib/maxlen.bash showed that we have exponential
runtime with respect to directory depth.

The new recursive diriv caching is a lot smarter as it caches
intermediate lookups. maxlen.bash now completes in a few seconds.

xfstests results same as
https://github.com/rfjakob/fuse-xfstests/blob/2d158e4c82be85c15269af77498e353f928f4fab/screenlog.0 :

  Failures: generic/035 generic/062 generic/080 generic/093 generic/099 generic/215 generic/285 generic/319 generic/426 generic/444 generic/467 generic/477 generic/523
  Failed 13 of 580 tests

benchmark.bash results are identical:

  $ ./benchmark.bash
  Testing gocryptfs at /tmp/benchmark.bash.BdQ: gocryptfs v2.0.1-17-g6b09bc0; go-fuse v2.1.1-0.20210611132105-24a1dfe6b4f8; 2021-06-25 go1.16.5 linux/amd64
  /tmp/benchmark.bash.BdQ.mnt is a mountpoint
  WRITE: 262144000 bytes (262 MB, 250 MiB) copied, 0,4821 s, 544 MB/s
  READ:  262144000 bytes (262 MB, 250 MiB) copied, 0,266061 s, 985 MB/s
  UNTAR: 8,280
  MD5:   4,564
  LS:    1,745
  RM:    2,244
</content>
</entry>
</feed>
