aboutsummaryrefslogtreecommitdiff
path: root/internal/stupidgcm
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-09-21 23:22:13 +0200
committerJakob Unterwurzacher2016-09-25 16:43:17 +0200
commitb34a665da4a15762fc2e21e125ba705f691ec5d7 (patch)
treec08b961470ae254936ac4ee5747c07a313f865f0 /internal/stupidgcm
parent01c18dbcab455f90ced6a3e35a6c9e645b1c5e2a (diff)
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
Diffstat (limited to 'internal/stupidgcm')
0 files changed, 0 insertions, 0 deletions