linux_dsm_epyc7002/fs/iomap
Jan Kara 13ef954445 iomap: Allow forcing of waiting for running DIO in iomap_dio_rw()
Filesystems do not support doing IO as asynchronous in some cases. For
example in case of unaligned writes or in case file size needs to be
extended (e.g. for ext4). Instead of forcing filesystem to wait for AIO
in such cases, add argument to iomap_dio_rw() which makes the function
wait for IO completion. This also results in executing
iomap_dio_complete() inline in iomap_dio_rw() providing its return value
to the caller as for ordinary sync IO.

Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2019-10-15 08:43:42 -07:00
..
apply.c
buffered-io.c Also new for 5.3: 2019-07-19 11:38:12 -07:00
direct-io.c iomap: Allow forcing of waiting for running DIO in iomap_dio_rw() 2019-10-15 08:43:42 -07:00
fiemap.c
Makefile iomap: fix Invalid License ID 2019-07-25 11:05:11 +02:00
seek.c
swapfile.c