io_uring: Add support FLUSH command
authorMinwoo Im <minwoo.im.dev@gmail.com>
Sat, 22 Jun 2024 11:35:02 +0000 (20:35 +0900)
committerMinwoo Im <minwoo.im@samsung.com>
Tue, 9 Jul 2024 22:40:16 +0000 (07:40 +0900)
commit7116c1f4fed83834c78d02ae031c3f07e64d34e3
tree7bd13053df049c2dcaa704aba1aca37b489aa08d
parent05a52be478dbbaa73d7ef563133125b24c001f1c
io_uring: Add support FLUSH command

Add support for --fsync and --fdatasync in io_uring_cmd ioengine to
enable FLUSH commands just like libaio or io_uring ioengines.

If --fsync or --fdatasync is given N, FLUSH command will be issued as
per N write commands.

Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
engines/nvme.c
engines/nvme.h