summaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2019-09-27 12:22:23 +0300
committerAmar Tumballi <amarts@gmail.com>2019-11-07 08:33:36 +0000
commit35d13c1e55e90f8da7d6edaeeab331a66aaf6bfd (patch)
tree9b8ec6708385637a14a45caf090720fb626d8384 /rpc
parentccf33e789f2cbd202e21340f684e2140d844a129 (diff)
glusterfsd-mgmt: unify read and write tests
1. Both read and write tests required writing first. Either just writing (write test) or write and then read (read test). So the code is now unified. 2. There's no reason to read zeros from /dev/zero. Just use a CALLOC'ed buffer. I don't think we should read and write zeros, but I did not change the code yet (I think compression and/or dedup will offset results) It appears neither read-perf nor write-perf were tested, so added basic tests for them. Change-Id: I24b1f249fa0335ed652a8982e99c0687d940230e updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'rpc')
0 files changed, 0 insertions, 0 deletions