Re: [PATCH v2 4/5] ext4: handle IOCB_DONTCACHE in buffered write path

2025-06-25 Thread Theodore Ts'o
On Tue, Jun 24, 2025 at 12:12:09PM +, 陈涛涛 Taotao Chen wrote: > From: Taotao Chen > > Add support for the IOCB_DONTCACHE flag in ext4_write_begin() and > ext4_da_write_begin(). When set in the kiocb, the FGP_DONTCACHE bit > is passed to the page cache lookup, preventing written pages from > be

[PATCH v2 4/5] ext4: handle IOCB_DONTCACHE in buffered write path

2025-06-24 Thread 陈涛涛 Taotao Chen
From: Taotao Chen Add support for the IOCB_DONTCACHE flag in ext4_write_begin() and ext4_da_write_begin(). When set in the kiocb, the FGP_DONTCACHE bit is passed to the page cache lookup, preventing written pages from being retained in the cache. Only the handling logic is implemented here; the