Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
io_u: Support fsync for --rw=trimwrite
Even if ddir is determined in get_rw_ddir(), ddir might be updated in set_rw_ddir(). if td represents trimwrite, it will be updated to either DDIR_TRIM or DDIR_WRITE even ddir already represents for DDIR_SYNC. To support DDIR_SYNC(fsync) for trimwrite, this patch checks ddir_sync() in case of trimwrite not to update the pre-determined ddir. Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
- Loading branch information