Fix reading multiple blktrace replay files
authorluye <luye.yelu@bytedance.com>
Thu, 11 Mar 2021 03:30:51 +0000 (11:30 +0800)
committerluye <luye.yelu@bytedance.com>
Thu, 11 Mar 2021 06:52:10 +0000 (14:52 +0800)
commit22d7fdf3c01c811904c594888336a61aae2fc8f2
tree9ef6438472f245c64baa61ce10e8c2d51453dba6
parent267b164c372d57145880f365bab8d8a52bf8baa7
Fix reading multiple blktrace replay files

During fio replay, the input file would be checked first by is_blktrace()
if it is a blktrace output file. If so, however, this would treat the
read_iolog option as one single file and ignore multiple files seperated by ":"

This commit contains the fixation that read input file name by index
before doing the check

Signed-off-by: luye <luye.yelu@bytedance.com>
iolog.c