Frank Filz has uploaded this change for review.

View Change

Make gtest read and write operations async capable

gtest is not actually well positioned for async, so we use the new
fsal helper functions fsal_read and fsal_write.

Each test provides a mutex and condition variable.

Change-Id: I3a022b6517f78c2f02dfab258a97f28c7ccea451
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
---
M src/gtest/fsal_api/test_commit2_latency.cc
M src/gtest/fsal_api/test_read2_latency.cc
M src/gtest/fsal_api/test_write2_latency.cc
3 files changed, 251 insertions(+), 83 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/67/431567/1

To view, visit change 431567. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a022b6517f78c2f02dfab258a97f28c7ccea451
Gerrit-Change-Number: 431567
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx@mindspring.com>