iomap supports uncached IO, enable the use of RWF_UNCACHED with XFS by
flagging support with FOP_UNCACHED.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
.fadvise = xfs_file_fadvise,
.remap_file_range = xfs_file_remap_range,
.fop_flags = FOP_MMAP_SYNC | FOP_BUFFER_RASYNC |
- FOP_BUFFER_WASYNC | FOP_DIO_PARALLEL_WRITE,
+ FOP_BUFFER_WASYNC | FOP_DIO_PARALLEL_WRITE |
+ FOP_UNCACHED,
};
const struct file_operations xfs_dir_file_operations = {