<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/contrib/getdents-debug, branch v2.2.1</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.2.1</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.2.1'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2021-08-30T09:31:01+00:00</updated>
<entry>
<title>Unbreak hyperlinks broken by go mod v2 conversion</title>
<updated>2021-08-30T09:31:01+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-08-30T09:31:01+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=34d8a498c4899b1493f7bea16c22486d6725c9b1'/>
<id>urn:sha1:34d8a498c4899b1493f7bea16c22486d6725c9b1</id>
<content type='text'>
Commit

  69d88505fd7f4cb0d9e4f1918de296342fe05858 go mod: declare module version v2

translated all instances of "github.com/rfjakob/gocryptfs/" to
"github.com/rfjakob/gocryptfs/v2/".

Unfortunately, this included hyperlinks.

Unbreak the hyperlinks like this:

  find . -name \*.go | xargs sed -i s%https://github.com/rfjakob/gocryptfs/v2/%https://github.com/rfjakob/gocryptfs/v2/%
</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>getdents_c: continue on EINTR from open</title>
<updated>2020-07-29T18:35:59+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-07-29T18:35:59+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=8afbbc86d170c49bbbdd801f43cd77774bcde13e'/>
<id>urn:sha1:8afbbc86d170c49bbbdd801f43cd77774bcde13e</id>
<content type='text'>
Getting EINTR here is acceptable.
</content>
</entry>
<entry>
<title>Revert "getdents_c: read from two threads"</title>
<updated>2020-07-29T18:29:24+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-07-29T18:29:24+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=507345929617876f306b20eb541c9126945fba2c'/>
<id>urn:sha1:507345929617876f306b20eb541c9126945fba2c</id>
<content type='text'>
This made the code more complicated without reproducing
the problem.

This reverts commit 77632b7554000f2e832a0e9fded1a3894b2502c3.
</content>
</entry>
<entry>
<title>getdents_c: read from two threads</title>
<updated>2020-06-21T10:01:34+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-06-21T09:59:08+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=77632b7554000f2e832a0e9fded1a3894b2502c3'/>
<id>urn:sha1:77632b7554000f2e832a0e9fded1a3894b2502c3</id>
<content type='text'>
This was an attempt to make the C code more
similar to Go (which also reads from multiple threads).

However, I still could not repro the ENOENT problems.

https://github.com/rfjakob/gocryptfs/issues/483
</content>
</entry>
<entry>
<title>contrib/getdents-debug: fix function call missing argument from 22e3eec15302eac28c1a2ac3f9af29c2c9e82a3c</title>
<updated>2020-06-01T08:18:18+00:00</updated>
<author>
<name>Jeremy Hilliker</name>
</author>
<published>2020-05-31T22:45:32+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=274e0d27b711fdabd5a4340335017ee862c30290'/>
<id>urn:sha1:274e0d27b711fdabd5a4340335017ee862c30290</id>
<content type='text'>
</content>
</entry>
<entry>
<title>getdents-debug: loop and stop on first error</title>
<updated>2020-05-28T21:23:53+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-05-28T21:21:35+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=22e3eec15302eac28c1a2ac3f9af29c2c9e82a3c'/>
<id>urn:sha1:22e3eec15302eac28c1a2ac3f9af29c2c9e82a3c</id>
<content type='text'>
Also try to improve and unify output a little.

$ ./getdents /usr/share/man/man1
  1: unix.Getdents: n=9984; n=9984; n=9968; n=9976; n=9984; n=9968; n=10000; n=9976; n=9992; n=10000; n=9976; n=9992; n=2312; n=0; err=&lt;nil&gt;; total 122112 bytes
  2: unix.Getdents: n=9984; n=48; n=9976; n=9968; n=9976; n=9976; n=9992; n=9984; n=9992; n=10000; n=9976; n=9968; n=10000; n=2272; n=0; err=&lt;nil&gt;; total 122112 bytes
  3: unix.Getdents: n=9984; n=9984; n=9968; n=704; n=10000; n=10000; n=9968; n=9968; n=9992; n=10000; n=9960; n=9992; n=9992; n=1600; n=0; err=&lt;nil&gt;; total 122112 bytes
  4: unix.Getdents: n=9984; n=9984; n=9968; n=9976; n=9984; n=32; n=9992; n=9984; n=9992; n=10000; n=9976; n=9968; n=10000; n=2272; n=0; err=&lt;nil&gt;; total 122112 bytes

$ ./getdents_c /usr/share/man/man1
  1: getdents64: n=9984; n=9984; n=9968; n=9976; n=9984; n=9968; n=10000; n=9976; n=9992; n=10000; n=9976; n=9992; n=2312; n=0; errno=0 total 122112 bytes
  2: getdents64: n=9984; n=9984; n=9968; n=9976; n=9984; n=9968; n=10000; n=9976; n=9992; n=10000; n=9976; n=9992; n=2312; n=0; errno=0 total 122112 bytes
  3: getdents64: n=9984; n=9984; n=9968; n=9976; n=9984; n=9968; n=10000; n=9976; n=9992; n=10000; n=9976; n=9992; n=2312; n=0; errno=0 total 122112 bytes
  4: getdents64: n=9984; n=9984; n=9968; n=9976; n=9984; n=9968; n=10000; n=9976; n=9992; n=10000; n=9976; n=9992; n=2312; n=0; errno=0 total 122112 bytes
</content>
</entry>
<entry>
<title>contrib/getdents-debug: implement getdents -loop</title>
<updated>2020-05-25T21:32:11+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-05-25T21:30:59+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b275c53fa79c7acc555f382e0831c81491be3183'/>
<id>urn:sha1:b275c53fa79c7acc555f382e0831c81491be3183</id>
<content type='text'>
$ ./getdents -loop /mnt/synology/public/tmp/g1
unix.Getdents: n=4176; n=4176; n=4176; n=4176; n=4176; n=3192; n=0; err=&lt;nil&gt;; total 24072 bytes
unix.Getdents: n=4176; n=4176; n=4176; n=4176; n=4176; n=3192; n=0; err=&lt;nil&gt;; total 24072 bytes
unix.Getdents: n=4176; n=-1; err=no such file or directory; total 4176 bytes
</content>
</entry>
<entry>
<title>Add contrib/getdents-debug/readdirnames</title>
<updated>2020-05-24T21:51:38+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-05-24T21:51:38+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=0d522e0d3b1e1ec4543ece4e7a9a0ed99da760c4'/>
<id>urn:sha1:0d522e0d3b1e1ec4543ece4e7a9a0ed99da760c4</id>
<content type='text'>
Another way to repro the problem in
https://github.com/rfjakob/gocryptfs/issues/483
</content>
</entry>
<entry>
<title>contrib: collect getdents stuff in getdents-debug folder</title>
<updated>2020-05-24T21:46:41+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-05-24T21:46:41+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=6019598fdb9d223beec7da5848cf950ca90e85e7'/>
<id>urn:sha1:6019598fdb9d223beec7da5848cf950ca90e85e7</id>
<content type='text'>
</content>
</entry>
</feed>
