Re: [RFC PATCH] block, fs: use FOLL_LONGTERM as gup_flags for direct IO
From: Christoph Hellwig
Date: Thu Mar 06 2025 - 10:31:43 EST
On Thu, Mar 06, 2025 at 04:40:56PM +0900, Sooyong Suk wrote:
> There are GUP references to pages that are serving as direct IO buffers.
> Those pages can be allocated from CMA pageblocks despite they can be
> pinned until the DIO is completed.
direct I/O is eactly the case that is not FOLL_LONGTERM and one of
the reasons to even have the flag. So big fat no to this.
You also completely failed to address the relevant mailinglist and
maintainers.