Trigger reboot and verify after power on, the last part of the data returned to cq is not verified
Hi: When I used the trigger parameter to verify the data consistency in the write cross power off scenario, I found the last part of the data returned to cq is not verified, I guess this part should be validated。
Description of the bug:
A. fio --name=test --output=write_cross_power_off.log --ioengine=libaio --direct=1 --verify=md5 --rw=randwrite --iodepth=128 --runtime=60 --filename=/dev/nvme0n1 --trigger=reboot --trigger-timeout=10 --debug=io'''
B. fio --name=test --output=verify_after_power_on.log --ioengine=libaio --direct=1 --verify=md5 --rw=randread --filename=/dev/nvme0n1 --verify_state_load=1 --debug=io
Run A and B fio command, the last part of the data returned to cq in file write_cross_power_off.log, can't find in file verify_after_power_on.log.
Environment: ubuntu 20.04.1, kernel 5.11.0-27-generic fio version: 3.31(the latest)