Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4328096pxb; Tue, 10 Nov 2020 13:40:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHcxA8prnYQrz3uUP+JaRf2FO6q1CEQIaEZAsXrlvuK9NIi4L3DhIDxfC0HY6z/sfz1GWx X-Received: by 2002:a05:6402:3089:: with SMTP id de9mr1570299edb.100.1605044448094; Tue, 10 Nov 2020 13:40:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605044448; cv=none; d=google.com; s=arc-20160816; b=IPe7OcubDMgbuKhJMocRfqaoO96Xgdjd8HEhQQWDKXoWcofP1GO4ujANy//B3l5LsU 3zRFiWE9xaeHsHtyBUCUiZn3f27VehhvtpK2xwA1ijGsdjZ3ZDsgq/YVsy8TaBucZifu 7seQiVVRShPt3OJ+fjlMuNyY414rkPrkdxOUh6IO02CxMezKCW8JTrPVYN0KlW1cVUcN 23cSvEw3SePfvZ8pNfjznjcpyaE3c/uTtRw1XY75q/pyza+IrXw11xfIRend5Bnxcijg /QU4wKbDzqyx+RBm3Hvy7T2BKb5ozlsUzP665Q9VxfEekbT5GtGTmf1P/sJK4i2yuNyF j4ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=jS+edFjFsM6CUDzw9b4yVtO+uKEwiB6uCQSLsx+dToc=; b=0cMdzhsznz8t1T0n/N53jxg/jwzuCr9hc1MaZKDwEL9Y1ykqLx1IhsVpNs1SwcPYkB 7DuC4eK04UQ99PPsPHEDTFAaajdlm001ixpYIqlNUgsmfeXTydsbcyS2nbxLwZjIbacc k35dubJJuEmUKhM8/HRx71Ql1lupnWfCtECgOU4axVJi1n2JKkWqA/+fdUEM0XvLZGzW DHxWe1J7h94iWi47aw4heVdDKpSIf8MpLO+DTSjaG6eIdNKnsaeE13lQNbJysb/ViM1U uZSm3+tv5vdBxi/qaEEC03CMhaC4ErdA610HMi+H5QTb1yieFZtx2PUptVgWYoK7M+dN c+Jw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gn40si10448005ejc.710.2020.11.10.13.40.24; Tue, 10 Nov 2020 13:40:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732000AbgKJVfr (ORCPT + 99 others); Tue, 10 Nov 2020 16:35:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726467AbgKJVfq (ORCPT ); Tue, 10 Nov 2020 16:35:46 -0500 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1EA1C0613D1; Tue, 10 Nov 2020 13:35:46 -0800 (PST) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcbIF-0034CG-JE; Tue, 10 Nov 2020 21:35:11 +0000 Date: Tue, 10 Nov 2020 21:35:11 +0000 From: Al Viro To: Christoph Hellwig Cc: Greg KH , Linus Torvalds , Alexey Dobriyan , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/6] seq_file: add seq_read_iter Message-ID: <20201110213511.GW3576660@ZenIV.linux.org.uk> References: <20201104082738.1054792-1-hch@lst.de> <20201104082738.1054792-2-hch@lst.de> <20201110213253.GV3576660@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201110213253.GV3576660@ZenIV.linux.org.uk> Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 10, 2020 at 09:32:53PM +0000, Al Viro wrote: > AFAICS, not all callers want that semantics, but I think it's worth > a new primitive. I'm not saying it should be a prereq for your > series, but either that or an explicit iov_iter_revert() is needed. Seeing that it already went into mainline, it needs a followup fix. And since it's not -stable fodder (AFAICS), I'd rather go with adding a new primitive...