From c87439b4e691f55f79241bc7d9c2bf64a67abe14 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sat, 1 Apr 2017 15:40:09 +0200 Subject: [PATCH] benchmark-reverse: add file reads MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note: find currently complains like this: find: failed to read file names from file system at or below ‘/tmp/linux-3.0.reverse.mnt.vNI’: No such file or directory I have analyzed this and it is caused by the non-stable inode numbers that gocryptfs -reverse uses. Will be fixed in a later commit. --- benchmark-reverse.bash | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/benchmark-reverse.bash b/benchmark-reverse.bash index 3e50a62..75e0dda 100755 --- a/benchmark-reverse.bash +++ b/benchmark-reverse.bash @@ -44,6 +44,7 @@ function etime { time "$@" > /dev/null } -echo -n "LS: " +echo -n "LS: " etime ls -lR $MNT - +echo -n "CAT: " +etime find $MNT -type f -exec cat {} +