summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDolev Raviv <draviv@codeaurora.org>2013-10-10 10:08:21 +0300
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:01:53 -0700
commit949aad284eb26f849a6657edd1ff4015984dc02a (patch)
tree46daddafcca789e49eb39d655cf2a5b59ea6bc02 /include/linux
parent0c46efdd45194059042b6392bca1cd5b823fe8c8 (diff)
scsi: ufs: mixed long sequential
The test will verify correctness of sequential data pattern written to the device while new data (with same pattern) is written simultaneously. First this test will run a long sequential write scenario. This first stage will write the pattern that will be read later. Second, sequential read requests will read and compare the same data. The second stage reads, will issue in Parallel to write requests with the same LBA and size. NOTE: The test requires a long timeout. The purpose of this test is to mix read and write requests on the same LBA while checking for the read data correctness. Change-Id: I6a437ce689b66233af3055d07a7f62f1e7b40765 Signed-off-by: Dolev Raviv <draviv@codeaurora.org> [venkatg@codeaurora.org: Changes to ufs_test.c are already present as part of earlier commit, hence drop them here] Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/test-iosched.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/test-iosched.h b/include/linux/test-iosched.h
index 6198b798980f..691f7df176f6 100644
--- a/include/linux/test-iosched.h
+++ b/include/linux/test-iosched.h
@@ -268,4 +268,7 @@ void test_iosched_add_urgent_req(struct test_request *test_rq);
int test_is_req_urgent(struct request *rq);
void check_test_completion(void);
+
+int compare_buffer_to_pattern(struct test_request *test_rq);
+
#endif /* _LINUX_TEST_IOSCHED_H */