filesetup: don't skip flags for trim workloads
authorVincent Fu <vincent.fu@samsung.com>
Fri, 17 Feb 2023 18:22:10 +0000 (13:22 -0500)
committerVincent Fu <vincent.fu@samsung.com>
Fri, 17 Feb 2023 18:22:10 +0000 (13:22 -0500)
commit85c1cf35921635723435ca6594f2da28f0a659fd
tree3c0294b8bb6bfa15e62f89168fd6f47a8191a656
parenta25ba6c64fe1313716f5a593ae6bd67492b2314a
filesetup: don't skip flags for trim workloads

Fio has not been setting O_DIRECT, O_SYNC, O_DSYNC, and O_CREAT for
workloads that include trim commands. Stop doing this and actually set
these flags when requested for workloads that include trim commands.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
filesetup.c