diff options
author | 2025-05-27 07:28:53 -0600 | |
---|---|---|
committer | 2025-05-27 21:06:24 +0200 | |
commit | 25b065a744ff0c1099bb357be1c40030b5a14c07 (patch) | |
tree | b987f42d174841aff05e59fa08fa82e599a19c83 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm/filemap: gate dropbehind invalidate on folio !dirty && !writeback (diff) | |
download | linux-rng-25b065a744ff0c1099bb357be1c40030b5a14c07.tar.xz linux-rng-25b065a744ff0c1099bb357be1c40030b5a14c07.zip |
mm/filemap: use filemap_end_dropbehind() for read invalidation
Use the filemap_end_dropbehind() helper rather than calling
folio_unmap_invalidate() directly, as we need to check if the folio has
been redirtied or marked for writeback once the folio lock has been
re-acquired.
Cc: stable@vger.kernel.org
Reported-by: Trond Myklebust <trondmy@hammerspace.com>
Fixes: 8026e49bff9b ("mm/filemap: add read support for RWF_DONTCACHE")
Link: https://lore.kernel.org/linux-fsdevel/ba8a9805331ce258a622feaca266b163db681a10.camel@hammerspace.com/
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Link: https://lore.kernel.org/20250527133255.452431-3-axboe@kernel.dk
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions