[f2fs-dev] [RFC PATCH 0/2] f2fs: support uncached buffered I/O
Wenjie Qi <[email protected]> Thu, 6 Aug 2026 23:07:45 +0800
| Newsgroups | net.sourceforge.lists.linux-f2fs-devel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel