Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--verify_pattern=%o increments with block size (BS) rather than some other more natural size #521

Closed
yurzo opened this issue Jan 31, 2018 · 1 comment

Comments

@yurzo
Copy link

yurzo commented Jan 31, 2018

#!/usr/bin/env bash
SIZE=32K
COMMON="--size=$SIZE --io_size=$SIZE --direct=1 --ioengine=libaio --name=carlos"
COMMON="$COMMON --verify_pattern=%o0xFFFFAAAABBBBCCCC"
COMMON="$COMMON --verify=pattern"
rm *.bin
rm *.hex
../fio/fio --rw=write $COMMON --bs=512 --filename=test1.bin
../fio/fio --rw=write $COMMON --bs=4K --filename=test2.bin
../fio/fio --rw=read $COMMON --bs=4K --filename=test1.bin
../fio/fio --rw=read $COMMON --bs=512 --filename=test2.bin
../fio/fio --rw=read $COMMON --bs=512 --filename=test1.bin
../fio/fio --rw=read $COMMON --bs=4K --filename=test2.bin

This precludes laying down a offset derived pattern and reading them with a different bs.
I naively expected the %o to increment with the native device block size.

@yurzo yurzo changed the title --verify_pattern%o increments with block size (BS) rather than some other more natural size --verify_pattern=%o increments with block size (BS) rather than some other more natural size Jan 31, 2018
@yurzo
Copy link
Author

yurzo commented Jan 31, 2018

I think I now understand the --verify_interval option should take care of this. #522 notwithstanding

@yurzo yurzo closed this as completed Feb 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant