summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLee Susman <lsusman@codeaurora.org>2015-01-19 20:32:55 +0200
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:01:51 -0700
commitd4670e5bb02319eea09583146bc8097fd5bb66f7 (patch)
treeccaa41e4264b06b5522992b33d8e6d3b139b91c2 /include
parent2dcf7d92a9fa780920abf635f5d78df7259e2561 (diff)
scsi: ufs: long sequential read/write tests
This test adds the ability to test the UFS task management feature in the driver. It loads the queue with requests in order to allow the task management to operate in full capacity. Modify test-iosched infrastructure to support the new tests: - expose check_test_completion() Note: we submit 16-bio requests since the current HW is very slow and we don't want to exceed the timeout duration. Change-Id: I8ee752cba3c6838d8edc05747fa0288c4b347ef6 Signed-off-by: Dolev Raviv <draviv@codeaurora.org> Signed-off-by: Lee Susman <lsusman@codeaurora.org> [merez@codeaurora.org: fix trivial conflicts in ufs_test.c] Signed-off-by: Maya Erez <merez@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')
-rw-r--r--include/linux/test-iosched.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/test-iosched.h b/include/linux/test-iosched.h
index 47383ae0675c..a444017f7282 100644
--- a/include/linux/test-iosched.h
+++ b/include/linux/test-iosched.h
@@ -130,7 +130,7 @@ struct test_request {
* @check_test_result_fn: Test specific test result checking
* callback
* @get_test_case_str_fn: Test specific function to get the test name
- * @test_duration: A jiffies value saved for timing
+ * @test_duration: A ktime value saved for timing
* calculations
* @data: Test specific private data
* @test_byte_count: Total number of bytes dispatched in
@@ -264,4 +264,6 @@ extern struct test_data *test_get_test_data(void);
void test_iosched_add_urgent_req(struct test_request *test_rq);
int test_is_req_urgent(struct request *rq);
+
+void check_test_completion(void);
#endif /* _LINUX_TEST_IOSCHED_H */