From nobody Sat Dec 30 00:12:31 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T22kR4cmwz55bG7 for ; Sat, 30 Dec 2023 00:12:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T22kR3WLlz4Rx1 for ; Sat, 30 Dec 2023 00:12:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703895151; a=rsa-sha256; cv=none; b=qsOqjvYmmy4QGuovu+PuF1ur1cPDTmsyXF+TM3UQDlEA5MevmMloBLwbP4U24gJRBJTVzL 0NvBQuY2UlR3dBAmNSxoUGcjeHksMw3bY2ByEvwC5u1lvBrvwT0KG4nkRqQIs8S85ADHtH 8dt+JHXT7dVoT+BIiq45sKZ2LYV4uYaxRomTOdhBmiqjcFXigJSNH+Vjksv1IEvCBIfHwo WbGb4yuzRoJCoPCySdpldgwcGWWX8RxWs1HNbVHHL93pXHXSaUUr0Eva3Nekuqn1ADsXTx V/vDHgK6z1SlN3dwKAYHW2gospSx9pqi+4MZT0dM6E3cZuFZ5a/wyv/GJXEjhQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703895151; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0snZaUYZFldzsy9vJ2n9ITAhtbOKNT0nDBbEIRYcmIo=; b=v/j6dDycX9GHJtOxPHIFKW0CW7zFEJ4Tbjg5vTdn0l7kgFYOtVn17UuErT4rs80IfXmOFp 7rtYUKWO25/fWGnSjiiEdP93gObUcY/hDiAgsIZM1+l/EHyCstqwh7BptXUBqcNSRDOnLf dn1dK1+VXDVX5MqsK2/gg0+ex7LqXiGv7RSeYQXyUXZAd95n7bTHF2RQbTkQsve+mPvWSV M8prVYX+JIQUyRw6ecf/lS/x4bMtkebl4KkDyN8mhBxJSkfuS1qdSM72SbBkN6KctHbWoM d+FCeg8XeOn3dlHrDA/4wofORYrqgW7wq0SfrQzFu6HZxSBbXoYZ9qfZw4JLTQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T22kR2Zt5zCSn for ; Sat, 30 Dec 2023 00:12:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3BU0CVsv076136 for ; Sat, 30 Dec 2023 00:12:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BU0CVCr076135 for bugs@FreeBSD.org; Sat, 30 Dec 2023 00:12:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 276002] nfscl: data corruption using copy_file_range Date: Sat, 30 Dec 2023 00:12:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276002 --- Comment #4 from Alan Somers --- I'll try that patch shortly. In the meantime, I've discovered a much quick= er way to reproduce the problem by increasing the operation sizes. Change the copy_file_range.toml file to contain this: flen =3D 524288 nomsyncafterwrite =3D true [opsize] max =3D 131072 min =3D 65536 [weights] truncate =3D 1 fsync =3D 1 fdatasync =3D 1 punch_hole =3D 0 sendfile =3D 1 write =3D 10 read =3D 10 copy_file_range =3D 10 --=20 You are receiving this mail because: You are the assignee for the bug.=