From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:47416 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727194AbeIMWQR (ORCPT ); Thu, 13 Sep 2018 18:16:17 -0400 From: David Howells In-Reply-To: <20180913164351.GC11574@bombadil.infradead.org> References: <20180913164351.GC11574@bombadil.infradead.org> <20180913161054.GB11574@bombadil.infradead.org> <153685389564.14766.11306559824641824935.stgit@warthog.procyon.org.uk> <17352.1536855503@warthog.procyon.org.uk> To: Matthew Wilcox Cc: dhowells@redhat.com, viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, linux-afs@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 00/10] iov_iter: Add new iters and use with AFS MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28093.1536858346.1@warthog.procyon.org.uk> Date: Thu, 13 Sep 2018 18:05:46 +0100 Message-ID: <28094.1536858346@warthog.procyon.org.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Matthew Wilcox wrote: > It might serve to replace iov_iter_zero(). I don't think it can work like that. iov_iter_zero() writes zeros into an iterator someone else set up. To use ITER_ZERO, you'd be setting up the iterator and passing it to someone else to comsume. I think these are at opposite ends of the concept. David