From nobody Sun Jan 07 21:29:12 2024 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 4T7Vgs184Bz562FG for ; Sun, 7 Jan 2024 21:29:13 +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 4T7Vgr6Z8fz4DY0 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=3bPrXb17jZFVFlMHWqOyC/T1OXDInwDwM7qrNTRJfbs=; b=mVNW0vdA79+Eda+l8y2FOsqdB9tS4uJAe8y1jHFxBxgqTzE4HI07YIj1SudcmG3pvr2X9y 0aAYzxREKvAQXJirrCwcZinI/Y2nP4QW2g72c8doVO9vAe79GW6/OWWTYHFhHoUKrOfAh+ K0fGU6EWjC3tYQl6749g56//a1MHtVSnz5IU6osAfZqSCV8HhtixDCL6wZA4Z0uqsxW101 5JHosW4BVZZ29YJnAP5k20JqR86K/KAZ5HomQKVgW8xURzINp21TTepvaT5sFhKopoYR3O eRZFNbLMsv+u+6HxMv6u88BHkHNLipLl3gM/n7hA2MRdNTsWGrF18N9By4omLw== 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=jCgWcHvFpinWSfSiIdLNQiyL+n6V/bXqYimempaxJwUXXPESS5SHFvo4uSt15pEvQHSS1g iRP9XAPJd1+L/IhmApkQuZ4kiF/WgWEEdNrzL3teIS9TNfL7+7tMNPtoz0XOq0pep3CJ7O iAnkLgb35F+41XeUCUQctDV0iRi2HVgbyZatSE4ZFMDMMXH1qW88QZonTfe3+m/gR+4BSY aSwftAQP/AVcv44dVM/UvSYBtXyGUWQbmR0mOtE5trHkoQR/Kt9I+qyVzM8agSn9jXpcjd OAZ1mygdloSySSLdpF+f3z0jKkli0VBv2PpjrKdPDFNqHI3NqBzL7fBUMO1Cxg== 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 4T7Vgr4l2pzgs5 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 407LTCrs043068 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 407LTCJd043067 for bugs@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: bugs@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: AssignedTo 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: 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=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 the assignee for the bug.=