libgocryptfs/internal/nametransform
Jakob Unterwurzacher b34a665da4 nametransform: implement ReadDirIV without Openat
As ReadDirIV operates on a path anyway, opening the directory
has no clear safety advantage w.r.t. concurrent renames.

If the backing directory is a reverse-mounted gocryptfs filesystem,
each directory open is an OPENDIR, and this causes a full directory
read!

This patch improves the "ls -lR" performance of an

  DIR --> gocryptfs-reverse --> gocryptfs

chain by a factor of ~10.

OPENDIR counts for ls -lR:
  Before 15570
  After   2745
2016-09-25 16:43:17 +02:00
..
diriv_cache.go Move dirIVCache to its own file 2016-02-06 20:27:28 +01:00
diriv.go nametransform: implement ReadDirIV without Openat 2016-09-25 16:43:17 +02:00
longnames_test.go longnames: fix fsstress failure, use dirfd 2016-04-10 21:31:08 +02:00
longnames.go syscallcompat: OSX: add Unlinkat wrapper 2016-07-03 20:17:40 +02:00
names_test.go nametransform: drop unused noiv functions 2016-06-23 21:39:04 +02:00
names.go nametransform: return EINVAL on invalid padding 2016-09-25 16:43:17 +02:00
pad16.go Run go fmt 2016-02-06 20:23:36 +01:00