Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2568552pxa; Mon, 24 Aug 2020 18:55:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDJjMxHI20/1gCXPJI6UrA1C+jcMiDMB72isc/LXoWpYIdMrX9nR42FeC8fFZ/ALCyyoef X-Received: by 2002:a17:906:3e06:: with SMTP id k6mr8130222eji.37.1598320548201; Mon, 24 Aug 2020 18:55:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598320548; cv=none; d=google.com; s=arc-20160816; b=U4HeCmqOjzxV4h/mbREe/xnmAPoZIDTbpZ78S4MZyEwU8CtcNSh9USRurFedOVTtB/ 3IgHHgU7H7zU4ksgKmASb0IF+SM/RP6yTDSe8N8tz7UKVQw3W95wmBcICsrcRi7Q67RC 1tWErU6Z/j+V+V4GnnGwToQo2C4bdv06FHigNyq6t9UGsyXatcdTbSMXONTUnIvMEXXr A8u3kFUiNTJprGTfx8rbRn2Odi8+I+iU3Dit3cv+AVR0iAPx4FCzhPJM79JzYXxaEsgY PE1ScrlZxq5b586HRpx2RZuGe+nPLZrmOEdLhHgAxBWlZY26SZBrQ84qT82RoKmquyFs YzBw== 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=bq485wULtk8WPCsPyCjga/Yu8nfmecVQG+uvALXRS/U=; b=ZXH6kIE2WWjbBo7JT5A0fSZMqH8XXjY4y86j9bxtCO/eO26kac86U3+bwFIh4nKDqH 69JCMboyGf/qGd5TedifhaBj3WONaJk/a/KwC8HKdOJd+roEjkx+9i8gU/GKmMzaUbj+ IY8xezM7hN0idJMS+SJVjipo7y/n+QvTr6MG3JATZScnHRmKwQnpIZu2KKXWGCnjEfUG f2O9WmaWOXEv3vEdqvqZCpR+hmQi+2B5lNWPGEZ+gCtpNeNzrV1CmgF5YMt0FSwUuUsD sX1uiFaSaDL3QC1pdFAhBvwm8J5bQf6NlJyRcoSb2zwsXP3lOi95+b7NfybZrw1sD9fT CSzA== 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 y23si3553955ejf.437.2020.08.24.18.55.23; Mon, 24 Aug 2020 18:55:48 -0700 (PDT) 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 S1726737AbgHYByu (ORCPT + 99 others); Mon, 24 Aug 2020 21:54:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725924AbgHYBys (ORCPT ); Mon, 24 Aug 2020 21:54:48 -0400 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E618C061574; Mon, 24 Aug 2020 18:54:48 -0700 (PDT) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAOAO-004EWH-BU; Tue, 25 Aug 2020 01:54:28 +0000 Date: Tue, 25 Aug 2020 02:54:28 +0100 From: Al Viro To: John Hubbard Cc: Andrew Morton , Christoph Hellwig , Ilya Dryomov , Jens Axboe , Jeff Layton , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, ceph-devel@vger.kernel.org, linux-mm@kvack.org, LKML Subject: Re: [PATCH 0/5] bio: Direct IO: convert to pin_user_pages_fast() Message-ID: <20200825015428.GU1236603@ZenIV.linux.org.uk> References: <20200822042059.1805541-1-jhubbard@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200822042059.1805541-1-jhubbard@nvidia.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 21, 2020 at 09:20:54PM -0700, John Hubbard wrote: > Direct IO behavior: > > ITER_IOVEC: > pin_user_pages_fast(); > break; > > ITER_KVEC: // already elevated page refcount, leave alone > ITER_BVEC: // already elevated page refcount, leave alone > ITER_PIPE: // just, no :) Why? What's wrong with splice to O_DIRECT file?