From: Al Viro Date: Sat, 24 Jul 2021 01:52:06 +0000 Subject: [Cluster-devel] [PATCH v3 1/7] iov_iter: Introduce fault_in_iov_iter helper In-Reply-To: <20210723205840.299280-2-agruenba@redhat.com> References: <20210723205840.299280-1-agruenba@redhat.com> <20210723205840.299280-2-agruenba@redhat.com> Message-ID: List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Fri, Jul 23, 2021 at 10:58:34PM +0200, Andreas Gruenbacher wrote: > Introduce a new fault_in_iov_iter helper for manually faulting in an iterator. > Other than fault_in_pages_writeable(), this function is non-destructive. > > We'll use fault_in_iov_iter in gfs2 once we've determined that the iterator > passed to .read_iter or .write_iter isn't in memory. Hmm... I suspect that this is going to be much heavier for read access than the existing variant. Do we ever want it for anything other than writes?