benchmark-reverse: add file reads

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.
This commit is contained in:
Jakob Unterwurzacher 2017-04-01 15:40:09 +02:00
parent 3cd18f288f
commit c87439b4e6
1 changed files with 3 additions and 2 deletions

View File

@ -44,6 +44,7 @@ function etime {
time "$@" > /dev/null time "$@" > /dev/null
} }
echo -n "LS: " echo -n "LS: "
etime ls -lR $MNT etime ls -lR $MNT
echo -n "CAT: "
etime find $MNT -type f -exec cat {} +