<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/inomap, branch v2.0-beta2</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.0-beta2</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.0-beta2'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2020-06-21T10:01:34+00:00</updated>
<entry>
<title>inomap: clarify TranslateStat function comment</title>
<updated>2020-06-21T10:01:34+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-06-11T21:38:29+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=9b8ce55383fb6a0a146d0551a63d62b59be6eeb7'/>
<id>urn:sha1:9b8ce55383fb6a0a146d0551a63d62b59be6eeb7</id>
<content type='text'>
Also, fix the namespaceMap comment.
</content>
</entry>
<entry>
<title>Fix spelling mistakes found by misspell</title>
<updated>2020-05-09T22:25:49+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-05-09T22:25:49+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=ead7008a08f9ace4591ebbc03e63fdc7ef37e502'/>
<id>urn:sha1:ead7008a08f9ace4591ebbc03e63fdc7ef37e502</id>
<content type='text'>
https://github.com/client9/misspell
</content>
</entry>
<entry>
<title>inomap: fix TestSpill bit check</title>
<updated>2020-05-03T18:28:26+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-05-03T18:28:26+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=feaeee90e271b0c0f5747f856df2b622447505cc'/>
<id>urn:sha1:feaeee90e271b0c0f5747f856df2b622447505cc</id>
<content type='text'>
Wrong bit operator was used.
</content>
</entry>
<entry>
<title>inomap: fix spillBit not set on 2nd hit</title>
<updated>2020-05-03T18:21:11+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-05-03T18:21:11+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=8c9c68fb724150654721bd665cc9233c641a0ea5'/>
<id>urn:sha1:8c9c68fb724150654721bd665cc9233c641a0ea5</id>
<content type='text'>
Also add a test for this.

Thanks @slackner for the comment.
</content>
</entry>
<entry>
<title>inomap: remove leftover debug output</title>
<updated>2020-05-03T18:01:12+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-05-03T17:59:47+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=91f5c242a8f4527f3266c09d7f18ff997593bafa'/>
<id>urn:sha1:91f5c242a8f4527f3266c09d7f18ff997593bafa</id>
<content type='text'>
This was committed by accident.
</content>
</entry>
<entry>
<title>fusefrontend_reverse: use inomap for inode number translation</title>
<updated>2020-05-03T13:22:10+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-05-03T13:22:10+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=518771e4e247762f60c5594de427a8c86f19bd57'/>
<id>urn:sha1:518771e4e247762f60c5594de427a8c86f19bd57</id>
<content type='text'>
Gets rid of static inode number value limitations.

Fixes https://github.com/rfjakob/gocryptfs/issues/457
</content>
</entry>
<entry>
<title>inomap: comment constants</title>
<updated>2020-04-19T20:09:21+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-04-19T20:09:21+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=483054efaa1bd965b41265c681a78fb98e51b739'/>
<id>urn:sha1:483054efaa1bd965b41265c681a78fb98e51b739</id>
<content type='text'>
</content>
</entry>
<entry>
<title>inomap: rework logic to efficiently support flags</title>
<updated>2020-04-19T20:00:56+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-04-19T19:57:53+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=9f9d59ded94f648202505e278f67667879e60be8'/>
<id>urn:sha1:9f9d59ded94f648202505e278f67667879e60be8</id>
<content type='text'>
Adding flags allows to use inomap in reverse mode,
replacing the clunky inoBaseDirIV/inoBaseNameFile
logic that causes problems with high underlying
inode numbers ( https://github.com/rfjakob/gocryptfs/issues/457 )

Microbenchmarks (values below) show that the "SingleDev"
case is now much slower due to an extra map lookup,
but this has no visible effects in ./test.bash results,
so there was no time spent optimizing the case further.

$ go test -bench=.
goos: linux
goarch: amd64
pkg: github.com/rfjakob/gocryptfs/internal/inomap
BenchmarkTranslateSingleDev-4   	18757510	        61.5 ns/op
BenchmarkTranslateManyDevs-4    	18061515	        64.5 ns/op
PASS
ok  	github.com/rfjakob/gocryptfs/internal/inomap	2.467s
</content>
</entry>
<entry>
<title>inomap: add benchmark</title>
<updated>2020-04-19T19:35:06+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-04-19T19:34:45+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=fcdeb52390b15b0d59015dbd238835b9a6f6b3ff'/>
<id>urn:sha1:fcdeb52390b15b0d59015dbd238835b9a6f6b3ff</id>
<content type='text'>
$ go test -bench=.
goos: linux
goarch: amd64
pkg: github.com/rfjakob/gocryptfs/internal/inomap
BenchmarkTranslateSingleDev-4   	202479382	         5.88 ns/op
BenchmarkTranslateManyDevs-4    	16095795	        71.9 ns/op
PASS
ok  	github.com/rfjakob/gocryptfs/internal/inomap	3.039s
</content>
</entry>
<entry>
<title>inomap: split into separate package</title>
<updated>2020-04-13T12:54:04+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-04-12T15:15:03+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=488111ce390218806fca933b89279b766f7ff49c'/>
<id>urn:sha1:488111ce390218806fca933b89279b766f7ff49c</id>
<content type='text'>
inomap will also be used by fusefrontend_reverse
in the future. Split if off openfiletable to make
it independent.
</content>
</entry>
</feed>
