diff options
author | 2017-06-20 07:05:44 -0500 | |
---|---|---|
committer | 2017-06-20 07:12:03 -0600 | |
commit | 6be96d3ad34a124450028dabba43f07fe1d0c86d (patch) | |
tree | a5f6ef95a01e38caa3dc1e50071d5baa78426a3f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | fs: Introduce RWF_NOWAIT and FMODE_AIO_NOWAIT (diff) | |
download | linux-dev-6be96d3ad34a124450028dabba43f07fe1d0c86d.tar.xz linux-dev-6be96d3ad34a124450028dabba43f07fe1d0c86d.zip |
fs: return if direct I/O will trigger writeback
Find out if the I/O will trigger a wait due to writeback. If yes,
return -EAGAIN.
Return -EINVAL for buffered AIO: there are multiple causes of
delay such as page locks, dirty throttling logic, page loading
from disk etc. which cannot be taken care of.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions