<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/fusefrontend/node_dir_ops.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-10-02T19:42:39+00:00</updated>
<entry>
<title>fusefrontend: Mkdir: Stat after fixing permissions</title>
<updated>2025-10-02T19:42:39+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-10-02T19:36:23+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=8b33c0d6763f25be4ee5f100bbb1c67f7d485ee4'/>
<id>urn:sha1:8b33c0d6763f25be4ee5f100bbb1c67f7d485ee4</id>
<content type='text'>
Fixes https://github.com/rfjakob/gocryptfs/issues/964
</content>
</entry>
<entry>
<title>fusefrontend: switch to new go-fuse dir api</title>
<updated>2025-04-26T09:03:55+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-03-26T21:45:43+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=ae3c859c1179498a4882b4bd69c2243aa6912332'/>
<id>urn:sha1:ae3c859c1179498a4882b4bd69c2243aa6912332</id>
<content type='text'>
go-fuse 2.6.0, specifically,
https://github.com/hanwen/go-fuse/commit/e885cea8d4d40a5a9bb92bc3cef7193f2a316f59
introduced a new, file-based directory API while
deprecating the old one.

Switch to the new API.

xfstests generic/035 now passes.

Fixes https://github.com/hanwen/go-fuse/issues/55
</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>Flag -zerodiriv to create all diriv as all zero byte files</title>
<updated>2021-08-19T16:05:54+00:00</updated>
<author>
<name>Jose M Perez</name>
</author>
<published>2021-08-12T20:48:34+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=8f94083a2114c3aef4bc0320065e0374c420ea4a'/>
<id>urn:sha1:8f94083a2114c3aef4bc0320065e0374c420ea4a</id>
<content type='text'>
</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>
<entry>
<title>fusefrontend: list "." and ".." in dir entries</title>
<updated>2021-05-29T14:44:38+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-05-29T14:44:38+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=18befda0e6f1a690fa000951df8f9a4a61daebbb'/>
<id>urn:sha1:18befda0e6f1a690fa000951df8f9a4a61daebbb</id>
<content type='text'>
Fixes xfstests generic/401
</content>
</entry>
<entry>
<title>syscallcompat: refactor MkdiratUser to take fuse.Context</title>
<updated>2021-05-22T19:44:19+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-05-22T19:44:19+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e1853e10116e97d7dcce895d6603dae1379a37b7'/>
<id>urn:sha1:e1853e10116e97d7dcce895d6603dae1379a37b7</id>
<content type='text'>
Let's have MkdiratUser take fuse.Context like everybody
else.
</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>
</feed>
