block: clarify confusion between 0xFFFFFFFF and ascending patterns
Patterns 0xFFFFFFFF and -1 are the same. This fixes separates the
two by encoding the sequence pattern differently. Providing more
readable code that allows faster debugging.
Change-Id: Ib3ad61452d5e6a75a83b8b1795b11889a7e30208
Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
diff --git a/include/linux/test-iosched.h b/include/linux/test-iosched.h
index 3690160..89d3b30 100644
--- a/include/linux/test-iosched.h
+++ b/include/linux/test-iosched.h
@@ -23,7 +23,7 @@
/*
* Patterns definitions for read/write requests data
*/
-#define TEST_PATTERN_SEQUENTIAL -1
+#define TEST_PATTERN_SEQUENTIAL 0x12345678
#define TEST_PATTERN_5A 0x5A5A5A5A
#define TEST_PATTERN_FF 0xFFFFFFFF
#define TEST_NO_PATTERN 0xDEADBEEF