From nobody Sun Jan 07 21:29:12 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 4T7Vgr5kcBz562N5 for ; Sun, 7 Jan 2024 21:29:12 +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 4T7Vgr3pztz4DPV for ; Sun, 7 Jan 2024 21:29:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704662952; 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=lwEAgxHwrNC5D2QzfoGlTrfYMWcKDLS/xFq09I33SZ4=; b=D8D5w6XMkHReHwe6BnMaCXarZZ8dLtHgUmfdG3ZUetPNL6aCf6n4clImXB4C3gEBirw4qh NC4xKXMqm2t7GK66XHm9NootAfqpHo5CoIJe2ZG9PvOWNYb7HXjZMh2O81Gar8e03xgmdC fa26BNayhckRPVgplgy2SDiRMkW9BEOuUUvKvFB8cniidqcY9hsoG9rhLi6AMno8ho6jtv 3q+FDabe3eMaAB/HsUoYdMQp57vJSxpt5p6ny8pJsc1CE5TdndV8U+1PTFNU7YIpDKI/QQ zbPYpLaBYYIzhc3kAiftuc6rAh/NOJZtkFElV8WFvmBcz2uI2LhN8abCQed7JA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704662952; a=rsa-sha256; cv=none; b=PqQu2CDugxhgmPCV/H5DN8PZO3t7mbG1BiI5GeThwjh3lcd9c4aD2AOkqfHi/lM/O5NEiS jP0hT6c+Ly9/jrhqsQMeTAvAdbdGDlZDEn9vGyWOrA/vJPoO7ig/fLGD1cgSfcs8OpNbJ6 +vOI0KUmUfGvSZHGRlM2uePZum5nMdyLHq777FCKGkckNucgD/8DXkpqFqrCELGbpi7+IO ykjUKbXK+clEZo1W3Ua3D/mndwISfYa08075ZjCBVRfKpRa7SLMIineSE4cuVDeG7frmQ4 54hzh3IHS+ceLwtm58JdJTvh2Cu7FE69EMN+h10xJtOVtVhYhgizLL27IBbX5w== 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 4T7Vgr2v40zgS9 for ; Sun, 7 Jan 2024 21:29:12 +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 407LTCwf043055 for ; Sun, 7 Jan 2024 21:29:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 407LTCIC043054 for fs@FreeBSD.org; Sun, 7 Jan 2024 21:29:12 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 269330] fusefs: data corruption with mmap and either o_direct or fspacectl Date: Sun, 07 Jan 2024 21:29:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: Open 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: 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=3D269330 --- Comment #2 from Alan Somers --- Update: I can also produce the same corruption by mixing mmap'd writes and copy_file_range, using fsx-rs 0.2.0 with a config like this: flen =3D 524288 nomsyncafterwrite =3D true [opsize] max =3D 131072 min =3D 65536 [weights] truncate =3D 0 fsync =3D 0 fdatasync =3D 0 punch_hole =3D 0 write =3D 0 mapwrite =3D 10 mapread =3D 0 read =3D 10 copy_file_range =3D 10 I also have a not-yet-committed test case in the fusefs test suite that demonstrates the problem. --=20 You are receiving this mail because: You are on the CC list for the bug.=