Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E2F1CCA482 for ; Wed, 8 Jun 2022 06:43:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229950AbiFHGnx (ORCPT ); Wed, 8 Jun 2022 02:43:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348968AbiFHF6m (ORCPT ); Wed, 8 Jun 2022 01:58:42 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3307D45CB5F for ; Tue, 7 Jun 2022 21:31:15 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id w27so25411304edl.7 for ; Tue, 07 Jun 2022 21:31:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=lQzGWzSzNym33MQ84Y+l0IYApxkDWXsfpOoAO4fDHlI=; b=pLcIgzoF06q+6p7bNMxbfyeIE4USudtWpeFahTUvEnR7xMfelU2/kdyscp0xEzX39O 7F0y8uzCOtb+mZZMSlT27TPASU2K/shDy0TCDGhjgqPupzzLX4mh0tUrI9xkRgoL2L3C XuEGpxyF5MqhnqdknPMsjAPoWxsyQ5KPyOvH4NHOPGZkW3ds/2o61RSNL0Ynqt1Y1VdG Bfd76BmUlSqRAXXVDA2CV/UTWJVjcfAkMB9lNC0Ud/ky7YG1dM1S8jv6FqlwgjECA/IT qdjfu9Wvf2AxBL9OQ+F2eH+lrRAcunRWSRcpGZCba31FBX1TobN8MBKOdQaqyorboDyH unMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=lQzGWzSzNym33MQ84Y+l0IYApxkDWXsfpOoAO4fDHlI=; b=tSzUtQ8IsPDvvGgFlASWBnqelidpBpa5Nox6eNKLTY3StqHDLwvf8FIIogoNmGOBRN nA7O0NeH0ezI/AfC0udvYyq5Q+CSWMPtZOopa6XmjCoYmOeGMi2MQW7Y03nVels3aPHN uJk3M0Du0qejPArpKDl6O44vW/Hm7a8aoDQM7mp0eAYQoz7DH6NlMF5VBaDHIPqlB9Tv BpSjt6F7RiwgDwbiWU8DMn1js2lE6eafnaCOBAv8qyOvhOCuvJKkDUN4sSmho2qO9Hhr dTf8LrdvtqarzvTO04H/p2J9bdLgGLcQ5vgGGFjCBQhTvXPlo91pd229PtCryT6roJgY +3KA== X-Gm-Message-State: AOAM530x2SNjbhRA8eMv498b52iNpo2S1m+Jjb8Sva1WmQNogTkqNVCD PhmQ6azCR7rcXpOcWR4cFgGqPg== X-Google-Smtp-Source: ABdhPJz8pE9/Vjr7/i5C+fk0/UyWIJaVLXaAMlSya4uBXn9u4OSqYRLr3nLBaRZ5u6D83V8/t2c8dA== X-Received: by 2002:a50:fc10:0:b0:42d:cbd2:4477 with SMTP id i16-20020a50fc10000000b0042dcbd24477mr36791934edr.363.1654662673432; Tue, 07 Jun 2022 21:31:13 -0700 (PDT) Received: from [192.168.1.99] ([80.208.69.52]) by smtp.gmail.com with ESMTPSA id u15-20020a05640207cf00b0042dd60352d1sm11550692edy.35.2022.06.07.21.31.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Jun 2022 21:31:12 -0700 (PDT) Message-ID: <539fb998-bbc2-b630-6549-ed8fe23fa167@kernel.dk> Date: Tue, 7 Jun 2022 22:31:11 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [RFC 0/5] support nonblock submission for splice pipe to pipe Content-Language: en-US To: Hao Xu , Pavel Begunkov , io-uring@vger.kernel.org Cc: linux-fsdevel@vger.kernel.org, Alexander Viro , Andrew Morton , Luis Chamberlain , Kuniyuki Iwashima References: <20220607080619.513187-1-hao.xu@linux.dev> <68b1a721-217a-f52b-ae41-0faec77edf3f@linux.dev> From: Jens Axboe In-Reply-To: <68b1a721-217a-f52b-ae41-0faec77edf3f@linux.dev> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On 6/7/22 10:19 PM, Hao Xu wrote: > On 6/7/22 17:27, Pavel Begunkov wrote: >> On 6/7/22 09:06, Hao Xu wrote: >>> From: Hao Xu >>> >>> splice from pipe to pipe is a trivial case, and we can support nonblock >>> try for it easily. splice depends on iowq at all which is slow. Let's >>> build a fast submission path for it by supporting nonblock. >> >> fwiw, >> >> https://www.spinics.net/lists/kernel/msg3652757.html >> > > Thanks, Pavel. Seems it has been discussed for a long time but the > result remains unclear...For me, I think this patch is necessary for > getting a good SPLICE_F_NONBLOCK user experience. I'd just take it up again, this is something we do need to get done to avoid io-wq offload. Which is important... -- Jens Axboe