Commit 982553db authored by Jens Axboe's avatar Jens Axboe Committed by Akilesh Kailash
Browse files

UPSTREAM: mm/filemap: unify dropbehind flag testing and clearing



The read and write side does this a bit differently, unify it such that
the _{read,write} helpers check the bit before locking, and the generic
handler is in charge of clearing the bit and invalidating, once under
the folio lock.

Bug: 416315033
(cherry picked from commit a1d98e4f)
Change-Id: I8c1a3c20933a8b02e1b441a3260e46c96cec4472
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Link: https://lore.kernel.org/20250527133255.452431-6-axboe@kernel.dk


Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
Signed-off-by: default avatarAkilesh Kailash <akailash@google.com>
parent 3de933ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment