diff options
author | 2021-01-23 10:06:09 -0800 | |
---|---|---|
committer | 2021-01-23 10:06:09 -0800 | |
commit | 2f63296578cad1ae681152d5b2122a4595195f16 (patch) | |
tree | 26ec15d848996435a7ba37fa4b48e3892490603b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iomap: rename the flags variable in __iomap_dio_rw (diff) | |
download | wireguard-linux-2f63296578cad1ae681152d5b2122a4595195f16.tar.xz wireguard-linux-2f63296578cad1ae681152d5b2122a4595195f16.zip |
iomap: pass a flags argument to iomap_dio_rw
Pass a set of flags to iomap_dio_rw instead of the boolean
wait_for_completion argument. The IOMAP_DIO_FORCE_WAIT flag
replaces the wait_for_completion, but only needs to be passed
when the iocb isn't synchronous to start with to simplify the
callers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
[djwong: rework xfs_file.c so that we can push iomap changes separately]
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions