diff options
author | Jakob Unterwurzacher | 2016-09-21 23:22:13 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-09-25 16:43:17 +0200 |
commit | b34a665da4a15762fc2e21e125ba705f691ec5d7 (patch) | |
tree | c08b961470ae254936ac4ee5747c07a313f865f0 /internal/fusefrontend_reverse/rfs.go | |
parent | 01c18dbcab455f90ced6a3e35a6c9e645b1c5e2a (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/fusefrontend_reverse/rfs.go')
0 files changed, 0 insertions, 0 deletions