td: Replace last_was_sync with last_ddir_issued
authorMinwoo Im <minwoo.im.dev@gmail.com>
Tue, 9 Jul 2024 22:48:56 +0000 (07:48 +0900)
committerMinwoo Im <minwoo.im@samsung.com>
Thu, 11 Jul 2024 07:58:36 +0000 (16:58 +0900)
commite11046bfb64bb82ac928013fe41cd022f6d529db
tree6e41b09b5602226568f01b22951a503057d088ac
parent87b100270bb8f77c662bc02e2ce85e12893170a4
td: Replace last_was_sync with last_ddir_issued

`last_was_sync` has represented that the last command had DDIR_SYNC.
This can be replaced with `ddir_sync(last_ddir_issued)` and it's much
more flexible to represent the last issued command's data direction.

Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
fio.h
ioengines.c
libfio.c