[RFC PATCH 0/2] f2fs: support uncached buffered I/O
From: Wenjie Qi
Date: Thu Aug 06 2026 - 11:08:04 EST
This RFC series enables buffered RWF_DONTCACHE on F2FS.
The first patch keeps dropbehind folios in dropbehind-only write bios and
defers their completion to task context when completion happens outside
in_task().
The second patch then exposes FOP_DONTCACHE and propagates
IOCB_DONTCACHE to write_begin folio allocation so buffered
RWF_DONTCACHE can reach the F2FS write path.
The split keeps the write-side semantics in place before enabling the
user-visible API.
Wenjie Qi (2):
f2fs: keep dropbehind write bios task-context safe
f2fs: enable buffered RWF_DONTCACHE
fs/f2fs/data.c | 63 +++++++++++++++++++++++++++++++++++++++-----------
fs/f2fs/file.c | 2 +-
2 files changed, 51 insertions(+), 14 deletions(-)
--
2.43.0