open-power / HTX

Apache License 2.0
14 stars 19 forks source link

random_length_error #143

Closed preeti-dhir closed 6 years ago

preeti-dhir commented 6 years ago

Write system call failure was happening due to wrong xfer size and LBA no. generated by exerciser. Error was happening when exerciser completed its SEQ. oper and started RANDOM ones. During the transition from SEQ. to RANDOM operations,we were generating a transfer length more than the total blocks on the device. There was no proper check for it. Fixed the code to check the length before starting random ops.