aboutsummaryrefslogtreecommitdiff
path: root/qtest.c
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2015-03-19 20:24:16 -0400
committerJohn Snow <jsnow@redhat.com>2015-03-23 12:24:16 -0400
commit54fced034e4d32d8ba6d1e27ecb7e2e2fb2f45d4 (patch)
tree8f146d0a987a7382b146eaa4dc89161dffae7e02 /qtest.c
parentac38123609742ce3fbdf53774a797ac230cbf118 (diff)
ahci-test: improve rw buffer patterns
My pattern was cyclical every 256 bytes, so it missed a fairly obvious failure case. Add some rand() pepper into the test pattern, and for large patterns that exceed 256 sectors, start writing an ID per-sector so that we never generate identical sector patterns. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Tested-by: Andreas Färber <afaerber@suse.de> Message-id: 1426811056-2202-5-git-send-email-jsnow@redhat.com
Diffstat (limited to 'qtest.c')
0 files changed, 0 insertions, 0 deletions