Re: [PATCH] gfs2: Fix mmap + page fault deadlocks

From: Linus Torvalds
Date: Thu Jul 01 2021 - 17:52:35 EST


On Thu, Jul 1, 2021 at 2:41 PM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> So what the direct-IO code _should_ do is to turn an ITER_IOVEC into a
> ITER_KVEC by doing the page lookup ahead of time

Actually, an ITER_BVEC, not ITER_KVEC. It wants a page array, not a
kernel pointer array.

But I hope people understood what I meant..

Linus