From 949aad284eb26f849a6657edd1ff4015984dc02a Mon Sep 17 00:00:00 2001 From: Dolev Raviv Date: Thu, 10 Oct 2013 10:08:21 +0300 Subject: 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 [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 --- include/linux/test-iosched.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/linux') 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 */ -- cgit v1.2.3