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.
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.