From nobody Mon Jan 01 15:48:32 2024 X-Original-To: fs@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 4T3gPX1rJCz56yG1 for ; Mon, 1 Jan 2024 15:48:32 +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 4T3gPW70LJz4sP5 for ; Mon, 1 Jan 2024 15:48:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704124112; a=rsa-sha256; cv=none; b=ve6rKzsYrAXrCgFQbVxRPzr675y8+yKR6BZq+alD49mx7ZfwyURqN3d/5QkCqVpmgcZUqf 0l6jVblUu+iW7IwuG47nidNEk/41ciNqWsxwf3jRafb/Xfav/RuSh2qGlu8K46hexzhZAS hnsVAwSIxf+pmtmsrODH8YVlQVhzivzpXD73KmgLa1nVK9Ng7Flgs8myCPno25QcXJY1P/ 4nNKY2sMniauYZmBGTCGRbOZlyiXvMBEd7EbxaHdgVrgEWcx6v4gemu04RbU2LCmbfqGJT sv+jcVeOjBAvRDd3Vx9l/+d5FgM0NlayRqyMYMnibTqwg+Pq1zGw2nVmC/DRxQ== 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=1704124112; 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=dzHnRIRiGIJK1fcApfS96UJjso9FOjc1hOSb0KTV0BM=; b=rduhgKGQGhX8WhGvkBOj1FTMye/EgJ41WJ/4YuZFe2pTxCbgYpBhX7EaRu3FTmWLajxuZ+ OgXeVu19SCnAN/nk+E0Q7argHgYHCsPJuIDAz0d8V3TMYfla67YlHwdmbCLoQkv7iLi02g vAlJWJxyO5smSFVordgXIqXkUY5taDq6gGGtMZo9W5PiDu4T2BelCZF5Te8S7zGAbtFf3J E/V1CBpSIX0dfBf4H9Q8yySYRF0O2Jj/MIjfW0xvP0ZkVQb8+oI+2DFA+w7Va5KHmpDhI+ YLKvk33UmDSFnMuqrthbXUrgwub4uoK+VVvlRA2t4O2tkzVm43BGo5hW+wYLmw== 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 4T3gPW64PCz7r6 for ; Mon, 1 Jan 2024 15:48: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 401FmV7q031373 for ; Mon, 1 Jan 2024 15:48:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 401FmVCn031372 for fs@FreeBSD.org; Mon, 1 Jan 2024 15:48: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: fs@FreeBSD.org Subject: [Bug 276002] nfscl: data corruption using both copy_file_range and mmap'd I/O Date: Mon, 01 Jan 2024 15:48:32 +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: rmacklem@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@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: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276002 --- Comment #32 from Rick Macklem --- Righto. To be honest, this may not be fixable, given the way NFS does I/O below the buffer cache (no vnode lock, etc). The fix may be to document the need to use msync(2) when mmap'd I/O is mixed with syscall I/O for NFS mounts. --> An update to the msync man page maybe? --=20 You are receiving this mail because: You are the assignee for the bug.=