diff options
author | 2024-09-11 17:34:39 +0100 | |
---|---|---|
committer | 2024-09-11 10:44:10 -0600 | |
commit | a12c883a0a6a005cfb3ad01feaf783e2248bfc3e (patch) | |
tree | 62b7dd057cac67dbf484717fd3908b72fff9df99 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | io_uring/cmd: give inline space in request to cmds (diff) | |
download | wireguard-linux-a12c883a0a6a005cfb3ad01feaf783e2248bfc3e.tar.xz wireguard-linux-a12c883a0a6a005cfb3ad01feaf783e2248bfc3e.zip |
filemap: introduce filemap_invalidate_pages
kiocb_invalidate_pages() is useful for the write path, however not
everything is backed by kiocb and we want to reuse the function for bio
based discard implementation. Extract and and reuse a new helper called
filemap_invalidate_pages(), which takes a argument indicating whether it
should be non-blocking and might return -EAGAIN.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/f81374b52c92d0dce0f01a279d1eed42b54056aa.1726072086.git.asml.silence@gmail.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