iolog: add version 3 to support timestamp-based replay
authorMohamad Gebai <mogeb@fb.com>
Thu, 7 Apr 2022 17:40:29 +0000 (10:40 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 8 Apr 2022 18:29:48 +0000 (12:29 -0600)
commit315bbf01119ea783554d274add04db98c0a3b433
treea09924297f09af132191591462624aeb283bc5f8
parenta3e48f483db27d20e02cbd81e3a8f18c6c5c50f5
iolog: add version 3 to support timestamp-based replay

Version 3 format looks as follows:

    timestamp filename action offset length

All file and IO actions must have timestamps, including 'add'. The 'wait'
action is not allowed with version 3 so that we can leave all timing
functionality to timestamps.

Signed-off-by: Mohamad Gebai <mogeb@fb.com>
Link: https://lore.kernel.org/r/20220407174031.599117-2-mogeb@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
blktrace.c
fio.h
iolog.c
iolog.h