From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B89AC433F5 for ; Fri, 10 Sep 2021 17:26:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 551C3603E5 for ; Fri, 10 Sep 2021 17:26:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231651AbhIJR12 (ORCPT ); Fri, 10 Sep 2021 13:27:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229682AbhIJR11 (ORCPT ); Fri, 10 Sep 2021 13:27:27 -0400 Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1DA1C061574 for ; Fri, 10 Sep 2021 10:26:16 -0700 (PDT) Received: by mail-il1-x142.google.com with SMTP id h20so1865828ilj.13 for ; Fri, 10 Sep 2021 10:26:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=iNK26dWrPEULhYjqm8ZCOu4aaN6QODbt9vLRizxo6Ww=; b=t3MT3TXw1gOut471cIVazKBymCH8MzxvuRD4M6lFpo9IQTSda63e9qnLCUIdMo1Mdn Sx2Hjm+oQmwu6HV85rTNVjChFIL77BlKR7mWuzyFYwymFTP7Mkhp4pkf5lGFy0u13Eut sUrf7y76d0XyylpmiX4hXTWyh1SwmyVM/nY+XtFL0q5/QUrjy6SE3ofb1xkkDKP1Txkh lf5S1e4Jf8bfr9mNPA5QLVlRkfn98ZC/Y3P1rrlVlrsmW6y+NnLy0mJsXbllRTJdDsyI ffMDfyp7DBtsKUkhJ1ugB6C8MFn8jClASIgC2ZeVv4mrkdClLWBG+an7pJLdBO4XdVsv S9iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=iNK26dWrPEULhYjqm8ZCOu4aaN6QODbt9vLRizxo6Ww=; b=aUlDVL+toxVT9Jgj2MNpZFhvDyts4ZVOQrD2qweW2z9nJqwt+YCdyCj19rSCfMFLs/ S3HNGQFScSB+UVUjmDxvFtyBGA2Vyl1KDhIKv1LUIoMaltbD83baqJ0kGqHL9KRVcbOr k13wcVFzujsCrj36tTeV3cenHMbzzLz9cLBF6cQmJBiXy2nQ5aJ+SSYNYUL9fm8KjpH4 essvUDYYLiabPk5r3KjTOIWkKsJ9jSu9y6aHxKEHkfBfq3INZ4lTJ9MhyObLWuz3iae2 9Kr/x5M5LYqDj99d+njDjbcxCk+gxQead1v/JONWNVulGDO6MR+fCbKJTAPDVeHOwE+M +51A== X-Gm-Message-State: AOAM532kElken2gsD4E7NXu5H5TODETY8CKvffJbqLzCMHqgDRfydS1k ylz+p6gNXJ4YvzmD405K9QJAlTESmkUxs63M2Rw= X-Google-Smtp-Source: ABdhPJzxSUfo94qrkSoHNLmjSX24/WBArv4udBmA/C98aPttZQXpjb8MmbS/6kxRiugpgj009rSE/A== X-Received: by 2002:a92:d84a:: with SMTP id h10mr7198085ilq.48.1631294775687; Fri, 10 Sep 2021 10:26:15 -0700 (PDT) Received: from [192.168.1.30] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id f5sm2924419ils.3.2021.09.10.10.26.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Sep 2021 10:26:15 -0700 (PDT) Subject: Re: [git pull] iov_iter fixes To: Linus Torvalds , Al Viro Cc: Pavel Begunkov , Linux Kernel Mailing List , linux-fsdevel References: <9ae5f07f-f4c5-69eb-bcb1-8bcbc15cbd09@kernel.dk> <9855f69b-e67e-f7d9-88b8-8941666ab02f@kernel.dk> <4b26d8cd-c3fa-8536-a295-850ecf052ecd@kernel.dk> <1a61c333-680d-71a0-3849-5bfef555a49f@kernel.dk> From: Jens Axboe Message-ID: Date: Fri, 10 Sep 2021 11:26:14 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On 9/10/21 10:58 AM, Linus Torvalds wrote: > On Fri, Sep 10, 2021 at 9:56 AM Al Viro wrote: >> >> What's the point of all those contortions, anyway? You only need it for >> iovec case; don't mix doing that and turning it into flavour-independent >> primitive. > > Good point, making it specific to iovec only gets rid of a lot of > special cases and worries. > > This is fairly specialized, no need to always cater to every possible case. Alright, split into three patches: https://git.kernel.dk/cgit/linux-block/log/?h=iov_iter If this looks reasonable (Al/Linus), then I'll send it out officially with git send-email as well. -- Jens Axboe