Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4415pxb; Wed, 11 Nov 2020 17:51:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJxt9qPKaAz/fqoYZMj2qV0mjVC+AbBPrEC1RyounIk1lA9VVw3BaAzbV/ipZHbZ1vnq5C48 X-Received: by 2002:a50:eb87:: with SMTP id y7mr2724918edr.187.1605145894099; Wed, 11 Nov 2020 17:51:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605145894; cv=none; d=google.com; s=arc-20160816; b=Q4twPtf9Kh9ToFSk+gE2KWGesfmYTXt3BwcDTW9XMfdXi1OWmKLKC9dP3fJwNCyM4b 0UKzaEphyRgpzthMIn2uUSJq6/iQt7YNXc0k+VenQaNsowXYsOig/AmoLga92ZQou1TA 8YguHeVO+7KjM6Hn430fpqX0JyehQ9uObauVfr+HfpAPj7KSYuxHGjvGN8K+a+OMyjFR IXm95HTVCuOhgeSEsrGIiD/tFaOyQrsBYFMnNAqwJScPqogbJOcaP8jtfgoV1Oj9YAHk 6/U2VZ+0mVQDncy4RP29BVeu3RBJbn03rcilL3pksSoVFSWzPqnmhw4Q8CAJmJXxTozR /Cfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=wLOabNKoNSfJ8YlJALUX/HSF7x5smlTVZLW77pgDXxE=; b=HpI5ig6NjdnUN6zJyQC/SYI19LwKoXH/1D0NImrWOX8x3ZlfCYbHWHClKWk3X2stW5 wBSb1hcMDWfPlLxDogCy6KImfm5G1331HScTtZ44RYhANcblE8etffa06TR6rdZUNktm S5nIvHh08fBHpmMDnnFcJLmERPIFCZ15uTpy2Z4001kHqwGhxYfSubKZ22i30Gn+KLpH voN01N764vXPyEYUpkCc8lDF/kpCDCDGnTn4kzZsmrSCDK+mWSo8ELieOrmOxn6afjdQ 2LwJc+YaKJlup6Si3ntaOu/pGR6IovGKZJe6qrvAo2FkR+ksClZqsY81cI/+eXKr5iIk i8MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=IRSGHIcC; 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 dd19si372093edb.594.2020.11.11.17.51.10; Wed, 11 Nov 2020 17:51:34 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=IRSGHIcC; 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 S1728488AbgKLBcs (ORCPT + 99 others); Wed, 11 Nov 2020 20:32:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727188AbgKKWqp (ORCPT ); Wed, 11 Nov 2020 17:46:45 -0500 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 183DCC0617A7 for ; Wed, 11 Nov 2020 14:27:22 -0800 (PST) Received: by mail-lj1-x242.google.com with SMTP id h23so3833640ljg.13 for ; Wed, 11 Nov 2020 14:27:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wLOabNKoNSfJ8YlJALUX/HSF7x5smlTVZLW77pgDXxE=; b=IRSGHIcCR371rgKVLVF0IWNeekp7RPE0tq0jXgz/fCbjpYkabNrYN8yq8L6uP1wNLm iQV9DdRexGpEEOJh3X5FNLU9tmqj7DBi9Jq9H9z+BIkxguhTupVA5zY3gmTZBfYvUSdr RBkqVcAV8M5WnEewVOMQWCUC58Swu7KJUcmrU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wLOabNKoNSfJ8YlJALUX/HSF7x5smlTVZLW77pgDXxE=; b=BI9UfB6TkepvKbqySm+0HkqCXapBWoYztTHoYnHJPh2DzsFPB3b02scfjgXBytG5QA kgn3LxahzOE6u+Hv6aloN2zSEQ9VnTpuCZSDhXiOqiyQc7v+kmXhlFZZc5zjdiNcxtIm n/mddarvd4q4UgzTcOFl3kRq/ltm2/+IH+ni0RmiJScCIUO0XgOxJezEYnrjevOaPyR0 EfoEuSsJ74xTUuMm1MJKUIDKVe3eG6Ab9HQO31T/JRKLM+HFpiP0cmH78Ah8kGsypnDy OVKKpmVTNxKXe2uQAVUyPQgMCyTGBpf9zSXoUU5tvkRYVxF9NUkJqlmn7alJ6TRe2Dl6 igDg== X-Gm-Message-State: AOAM5325o2EENaQVZaWXXBs4mRqJzhEY/7vxT2Jf4CNy1WY2iXe0PGBm TJIiqi4H4bmfC8DEJRi8pW2FLKkxYJzhFg== X-Received: by 2002:a2e:9a43:: with SMTP id k3mr11916144ljj.69.1605133640112; Wed, 11 Nov 2020 14:27:20 -0800 (PST) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com. [209.85.208.177]) by smtp.gmail.com with ESMTPSA id r3sm347969lfc.85.2020.11.11.14.27.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 11 Nov 2020 14:27:19 -0800 (PST) Received: by mail-lj1-f177.google.com with SMTP id x9so3853865ljc.7 for ; Wed, 11 Nov 2020 14:27:18 -0800 (PST) X-Received: by 2002:a05:651c:110:: with SMTP id a16mr12194059ljb.285.1605133638694; Wed, 11 Nov 2020 14:27:18 -0800 (PST) MIME-Version: 1.0 References: <20201104082738.1054792-1-hch@lst.de> <20201104082738.1054792-2-hch@lst.de> <20201110213253.GV3576660@ZenIV.linux.org.uk> <20201110213511.GW3576660@ZenIV.linux.org.uk> <20201110232028.GX3576660@ZenIV.linux.org.uk> <20201111215220.GA3576660@ZenIV.linux.org.uk> <20201111222116.GA919131@ZenIV.linux.org.uk> In-Reply-To: <20201111222116.GA919131@ZenIV.linux.org.uk> From: Linus Torvalds Date: Wed, 11 Nov 2020 14:27:02 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/6] seq_file: add seq_read_iter To: Al Viro Cc: Christoph Hellwig , Greg KH , Alexey Dobriyan , linux-fsdevel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 11, 2020 at 2:21 PM Al Viro wrote: > > Something like below (build-tested only): Apart from my usual "oh, Gods, the iter model really does confuse me" this looks more like what I expected, yes. Considering the original bug, I'm clearly not the only one confused by the iov_iter helper functions and the rules.. Linus