Re: [RFC 5/6] iomap: refuse dmabuf iterators on contents-encrypted inodes
From: Mengmeng Zhao
Date: Sun Nov 08 2026 - 21:57:09 EST
On 11/6/26 18:44, Christoph Hellwig wrote:
> I think contents-encrypted should be content-encrypted.
>
> But we really need to find a way to make these checks more
> systematic instead of sprinkling them everywhere. E.g. have a flag
> in file->f_mode to allow it, which then only leaves the direct I/O
> to buffered I/O fallback as a special case.
>
Agreed, adding the check to every file system is quite tedious.
We'll look into redesigning the implementation based on your
suggestion. Thanks for your time!