Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp21131995rwd; Thu, 29 Jun 2023 11:22:28 -0700 (PDT) X-Google-Smtp-Source: APBJJlFD5MoasRT2NCH8jUnaGX5+3Xf7+C3skErhwRTJGb227XXVBMToZ8gsfjEgLvlkNAQhw4J+ X-Received: by 2002:a17:903:2304:b0:1b6:b703:36f8 with SMTP id d4-20020a170903230400b001b6b70336f8mr716531plh.25.1688062948124; Thu, 29 Jun 2023 11:22:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688062948; cv=none; d=google.com; s=arc-20160816; b=CER1/MxLV+jEom8HS69p6AwmF15w254Wu4df0V9jmTxx95VK0yv88r4A49OXPRwHIi bOqI6yefoIb/CwfTP8PGk90x/OKnCVTZR91mKtJPvWfWt7EyKvrnXkpAT1StiClDdV++ xMbFdQFj5BMlJfUqTLCLtHEdkLXhr49MOoVruMhMzlf61foMOmRFqwc4Xlnc3/JWEjVG FIY2zRlkV3fleBGsoV3yd0Kl/mu0w/QHhPhE4JT06VGdcSuJ5OMTcx1pDd0F/mN0naja mVHb+okEweIQvVQ/x35H5ZJfwawXo6wtljRxFNYzOMZ4f4FoMX+MhGRgqu9LLAsNWP2O TJIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:user-agent:references :in-reply-to:message-id:mime-version:date:subject:cc:to:from :dkim-signature; bh=mWTnVt9e/Fb+ASjag2lt89PvPdIMQDGYRRlGDqMbUnQ=; fh=8pQOZusIWrZVDS9udeItjJieO5YDWdv4i9DU/UAzgtg=; b=bBMKe91Rji3+3HDzFrdQj2iMH7C7GfxRXEZAL1Zc/P6rAN7w4X6BcdBzp6CCvyK++O /j/HGJzKwJfYfNBFh0jio8VJVpXbnt7l62Vgn1RJSrIvaD8FZ/DWR5i/z+LFyHhDsKVN Q+nJQMuxRuOjZQS/b2IDPW+JqfHKm8YA9yde7wiHmMegXyhczx/rapuyo0BB5F5XhQ8H /EXo3zlFAlgUnluQ1dyLXgDr6ipX5Rjp94jXjJk4bfh4+i4ugjLDU4TfE+WoUPsPe66K hZ+qC+xrQJVn/SFHXSuXbeeR2QVyd6ZhTaSwn3oAckvbqLQaff4OvOEzmVebjP1G+8Ws 2E0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@comcastmailservice.net header.s=20211018a header.b=pmHmw2Ur; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a170902f54b00b001b7ffb9eaa9si8889332plf.561.2023.06.29.11.22.12; Thu, 29 Jun 2023 11:22:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@comcastmailservice.net header.s=20211018a header.b=pmHmw2Ur; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231981AbjF2STD (ORCPT + 99 others); Thu, 29 Jun 2023 14:19:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232083AbjF2SSo (ORCPT ); Thu, 29 Jun 2023 14:18:44 -0400 X-Greylist: delayed 150 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 29 Jun 2023 11:18:40 PDT Received: from resqmta-c1p-023465.sys.comcast.net (resqmta-c1p-023465.sys.comcast.net [IPv6:2001:558:fd00:56::5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1F9E2D7F for ; Thu, 29 Jun 2023 11:18:40 -0700 (PDT) Received: from resomta-c1p-023412.sys.comcast.net ([96.102.18.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 256/256 bits) (Client did not present a certificate) by resqmta-c1p-023465.sys.comcast.net with ESMTP id Etl0quD2IVh3YEwBdqOqUG; Thu, 29 Jun 2023 18:16:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcastmailservice.net; s=20211018a; t=1688062569; bh=mWTnVt9e/Fb+ASjag2lt89PvPdIMQDGYRRlGDqMbUnQ=; h=Received:Received:From:To:Subject:Date:MIME-Version:Message-ID: Content-Type:Xfinity-Spam-Result; b=pmHmw2UrXerHlMVVHS8RNplB07FJvicNrMb5gXUgcVoWaY3sF97pdeNHe4bmXn5rZ xVOhKZCoepk50mP1gvjTR1VcVLxzuTIQb7I7ruGXSz4H06HVMMcetTJLQpd+aiODIL ansOg1wPygUXsS6gY/iixusPCfF9Jxn3QdnPxjCuzJCdJj1BCfshd99V7vZYvB7gRp CF2JWh5d/nED2tJ9fTV0S68QdodTJXMQPauvmyJqoYYd7RsOA9Vfg4Ixo5V3M2LPYc rSdYwAre0TPdQta1A6m/Bla3bTa7N5rMfpDUD4oKqBNCOaIpOPvdIr3hgRpldQV8yk WyexuLGjyNenA== Received: from localhost ([IPv6:2601:18c:9082:afd:219:d1ff:fe75:dc2f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 256/256 bits) (Client did not present a certificate) by resomta-c1p-023412.sys.comcast.net with ESMTPSA id EwBWqLftphq3SEwBXq8dQY; Thu, 29 Jun 2023 18:16:07 +0000 X-Xfinity-VMeta: sc=-100.00;st=legit From: Matt Whitlock To: David Howells Cc: , Matthew Wilcox , Dave Chinner , Linus Torvalds , Jens Axboe , , , Subject: Re: [RFC PATCH 0/4] splice: Fix corruption in data spliced to pipe Date: Thu, 29 Jun 2023 14:16:02 -0400 MIME-Version: 1.0 Message-ID: <7d33f8a7-eb75-4a0d-bb10-aa4ab497c016@mattwhitlock.name> In-Reply-To: <20230629155433.4170837-1-dhowells@redhat.com> References: <20230629155433.4170837-1-dhowells@redhat.com> User-Agent: Trojita/v0.7-595-g7738cd47; Qt/5.15.10; xcb; Linux; Gentoo Linux Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MIME_QP_LONG_LINE,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday, 29 June 2023 11:54:29 EDT, David Howells wrote: > Matt Whitlock, Matthew Wilcox and Dave Chinner are of the opinion that data= > in the pipe must not be seen to change and that if it does, this is a bug. > Apart from in one specific instance (vmsplice() with SPLICE_F_GIFT), the > manual pages agree with them. I'm more inclined to adjust the > documentation since the behaviour we have has been that way since 2005, I > think. Anecdotally, my use case had been working fine for years until I upgraded=20 from 5.15.x to 6.1.x in February of this year. That's when my backups=20 started being corrupted. I only noticed when I was trying to restore a lost=20= file from backup earlier this week.