<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/contrib/getdents-debug/getdents_c, branch github_macos</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=github_macos</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=github_macos'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2020-07-29T18:35:59+00:00</updated>
<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>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: 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>
