From nobody Sun Sep 17 00:12:57 2023 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 4Rp7fy2SMyz4tF1C for ; Sun, 17 Sep 2023 00:12:58 +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 4Rp7fy1Q68z3Vqx for ; Sun, 17 Sep 2023 00:12:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694909578; a=rsa-sha256; cv=none; b=liovNfeIjRUJY6m99zut2nU7hu9IBUftokALaDni3sIfvpNeZ4L2/X7YOdZRuo0nRMwK/P I1CuF4uoSlO6RV087y6putR4bFf4ML1dTM18jLpc3qRCL0wtkv+f+2ianSTNLTdAwTzcm2 fAuNzFThH6pxqmZABNomvk+OQmrickhjxGruqig9QX8mqOXyZS1EI59FFYcdWnOdolCbMk TKGD0+CX3eP7thf2csvKUgRiqdHGF8haeC0waueRaQyeoEcZS2N84nxgH4+7r7UU+ZVH0k oCX1I9gHuv6+/Jz1T0lNNybqMZYxtMRPkosAEukO5pYAdCkjPHtQgIAgBq5zkA== 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=1694909578; 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=H+4qXFlpM0AqjnQTU36qa76P3X3HcS2HcYMRK+BjBH0=; b=OwhEPXc77rC4LsFU8PUYs3SM+E2xVoqtDz+XkJKG7Qjgu8sIMHI3raArmRkL/T2Lh7icXf +/EWSZaSpxVN7Rw+Xs98R+rwZd0f8qb3Dge1ireSSgCiiO7gSw1j4fEBGHu4dZfIOtjDG6 wI9dx6hnSFw2hzmswztorNUG7rC/1b77y1ajkeAaa3rSyhyAhPz6Wdtvt4+cfzsoRk3kRa Zpl/l+iaIgterVwku3bkr4YgKAWRCmjxbEGel86FRcHpX3VZMhWIhKvHwppKSWjh2OjvKr YWVb13o7GgEjnFZmlM+kuCXrM53CEwqL85xIFjll/oDxd7tlJ6KaI7mVofHQIA== 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 4Rp7fy0TBjzCMC for ; Sun, 17 Sep 2023 00:12:58 +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 38H0CwLe049160 for ; Sun, 17 Sep 2023 00:12:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38H0Cwhk049159 for fs@FreeBSD.org; Sun, 17 Sep 2023 00:12:58 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 267631] slow nfs from stock FreeBSD kvm guest/client to linux kvm host/server Date: Sun, 17 Sep 2023 00:12:57 +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: 13.0-RELEASE X-Bugzilla-Keywords: performance X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: andrew.cagney@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution short_desc 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=3D267631 Andrew Cagney changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |Closed Resolution|--- |FIXED Summary|slow nfs from FreeBSD kvm |slow nfs from stock FreeBSD |guest/client to linux kvm |kvm guest/client to linux |host/server |kvm host/server --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Sep 17 00:20:12 2023 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 4Rp7qJ31W9z4tGTS for ; Sun, 17 Sep 2023 00:20: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 4Rp7qJ1pgrz3Wv4 for ; Sun, 17 Sep 2023 00:20:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694910012; a=rsa-sha256; cv=none; b=NYuo4MR0K13qIIkNpU8IXWA3/ji3AXFd9jY3AA1YTSUMX3pRqp1OfYFVTzF/eYBV26CpG4 GoQIU5b95HqghNYN7JkALRBg4wk9VAfvqjRs3bra2AODBwQSM/Qf7Oyr+K8uOoCYks/DRc KmvYHitijqFpyJE2TigYlYu7GppeURWGvnBP9QzHorp4KiQ7qZvK6Flz6bJpe7DwERfKTw FQexke4jrX7kfG08PIUZnkQRtQLHsssAKCYEdjrUsJPGpTn5nuy2aRCSdHFaycJ5M1wjiI YGs4Zk5Ipk0pq5fvV5WQp9Is3U3F9F0fi3YH+sZDlDjjNtM2+q7Tux+dzbocAA== 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=1694910012; 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=N5gePP/rgny1VxeVkB8ckUntE0ua2APPALbbXVAUHhI=; b=FTeEZ3e10GPe8H4MBzgUekJ1CQYwFgZv2gvjDOGqVuSXzCOqeUYVOjddWyBWB63ENsrufW kUMjESt2aqVbVUV9NjgVGzjCBo75ggmHByi21JC1ZjH3a4Rm4l0/O08wr1wzFMRt30iizO mr53w5f73jQqNAxuiqsgyxAlpcZ1QVMDkgnf2xDpg5vvlivWRLXKz/z9fls2TBTbalGzJ/ 3IF2JwRxX381Z7bOA8n+WuALnUHXkKaf/t/ILifC/CyXCYcnJZ+rdhaosprLjnmzIj1fHy C0TYUEe0ylTx06KJGkuEQv1d1oD2XLLsu2kggLX22RFAqt8cfqroSs2aUZHjnQ== 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 4Rp7qJ0cmPzCDp for ; Sun, 17 Sep 2023 00:20: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 38H0KCOA051904 for ; Sun, 17 Sep 2023 00:20:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38H0KCtx051903 for fs@FreeBSD.org; Sun, 17 Sep 2023 00:20: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 267631] slow nfs from stock FreeBSD kvm guest/client to linux kvm host/server Date: Sun, 17 Sep 2023 00:20: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: 13.0-RELEASE X-Bugzilla-Keywords: performance X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: andrew.cagney@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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=3D267631 Andrew Cagney changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Closed |Open Resolution|FIXED |--- --- Comment #7 from Andrew Cagney --- (In reply to Rick Macklem from comment #6) I have a work-around - read from NFS+KVM, write to /tmp - and this works wi= th the stock kernel and virtual network driver. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Sep 17 00:26:13 2023 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 4Rp7yF6ggFz4tHhf for ; Sun, 17 Sep 2023 00:26: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 4Rp7yF3h2fz3XpJ for ; Sun, 17 Sep 2023 00:26:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694910373; a=rsa-sha256; cv=none; b=blND7nJoDbsamiai6bmi6UhoeRvHOFu0FhTxV4JfwVW1rZJxY8S8rwEeMUFpqmZVL7AEf4 RnUvIF+y3jtJ8uPU3LKcFiIniT49gNEGbGGBWLeGmuedjeTZFxXIWAK4uOcg8VgBkKJx+8 Mc9qTZnnkc41I1fVrSuAvQF1ymZwb/mpG9av6kRDMp1JXJEYcR/YgHskGb8RcifFDwBJQA +S5n/qbYc7zHaNCpXIrM1cmYbARmgBYSP/Wm+gJHt9BSwibiGK2CDT3FMgLhSDdYuU3F3Z dbebcE5qw0LO6zTO7kSUIa0+ayYak+jU/JTK0kahBnF/VY087wA0+rDijn6ccQ== 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=1694910373; 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=Ed5izArrVHmzJ9rulhAZEWwF+SS+Dlgr4VG/s6squDI=; b=tQNvslAc7zi1Vvm+U9n0EtEQqFIyjQpy6K7qwpvDohdcXeJMQfMsSX4f/kQrXoPH83xU+x Vhbx8RgjftHDL6oZuhtmMygFp+wwFPQ03/FreZGh1U+7FGmyH1hMh3oXKLUFAWgvukRc9/ 4z16blw+4xdv0G+dL3a66rz5XeLBB/yg0h0fSeYqdOwsOYuPbDBuwSAwubiH649ky3jVq7 bQHfZAQOHddz93NgR+Sbqu3de0bPFXrxqLvViwznjRj35RnHa6dX72+RHmiZwp0cZU8SYf yyd4wtYM/cJtfeiBUAyAqY96NpWJKBEj1QHQ9BplRoiHMCeAN73rvhRmup3DhQ== 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 4Rp7yF2lyzzCFY for ; Sun, 17 Sep 2023 00:26:13 +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 38H0QDh8064656 for ; Sun, 17 Sep 2023 00:26:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38H0QDCH064655 for fs@FreeBSD.org; Sun, 17 Sep 2023 00:26:13 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 267631] slow nfs from stock FreeBSD kvm guest/client to linux kvm host/server Date: Sun, 17 Sep 2023 00:26:13 +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: 13.0-RELEASE X-Bugzilla-Keywords: performance X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: andrew.cagney@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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=3D267631 Andrew Cagney changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |Closed Resolution|--- |FIXED --- Comment #8 from Andrew Cagney --- A blocker preventing me using 13.1 was fixed in 13.2. Retesting with stock 13.2: # uname -a FreeBSD freebsd 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64 $ uname -a Linux bernard 6.4.14-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Sep 2 16:3= 6:06 UTC 2023 x86_64 GNU/Linux $ rpm -q qemu-kvm qemu-kvm-7.2.5-1.fc38.x86_64 results in: real 1m22.930s user 0m52.125s sys 0m7.070s so somewhere between FreeBSD 13.0 -> 13.2 Linux 6.0.5 -> 6.4.14 QEMU 6.2.0 -> 7.2.5 this has been fixed. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Sep 17 01:54:55 2023 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 4Rp9wc2Qdjz4sgQk for ; Sun, 17 Sep 2023 01:54:56 +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 4Rp9wc1N01z4HBq for ; Sun, 17 Sep 2023 01:54:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694915696; a=rsa-sha256; cv=none; b=EOMa1Hw/AIrBXbZ3QduXONTGux46wI5GtSnHVKPgW3R1PQ80HCdFgOJ3JVfbAs+Xvy7Kmh TRQLPJnflll6+GZyT4ky2fiYtXD5YitK4ijviQ8DLvnZv26tFcmogfTA8Qllash/Vw78Ka fCVe+j6iwVS4PvhrunPYeYl5pQV5c7QNIGrUEjc8qHYaKjt6ZExRtj/NzoLh1+7pCp34oY /8xKV41AA7YqN/Xi4XbN0idd03KKWIDgjpPkStNzLhayqS46oy5EGSfnRp0wJmrQFoBmN0 6/6B1+mV8bSvrSX9vKtKzjXijqz0tjujxD8cUcdSFRLxgtgx7zUnL+rKlP9Ofw== 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=1694915696; 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=dO3omO5AmXupE7BqOf8scYi9W/nO9b7vh7yFb20h36U=; b=ZJ8kyP3I3gJMVR96xLcqR+9863sbQj54dovm4LCozXVyoQUvr5PXca/O2FGI/tXSe6khBs HLn5Gs/VnO/CRCV4493C/vbk1J3k8L9FYVDaEfILNJ+/GWv6lBiecP+rxiaSJsI1+QT7nS jV97SGNIzNsnrcSjKgcZdVpRhAh0Ujyi9n1eVrpBOYdB2Y6lvG/C0jK1SpYiFRk0rc7Y5T /TeAvZxTVIujhtANO0ZUI2YF4y+frW9oBALTMTmmE3jcncVhojlM2Y8AE/gvlpNFyTIHN5 RQQ766lcNvNZ4cVtND9NcuRUq+idRDDT4RGd4I8B/FP9AANaqFy5StTGqkCyGQ== 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 4Rp9wc0TfZzVtc for ; Sun, 17 Sep 2023 01:54:56 +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 38H1sumc090805 for ; Sun, 17 Sep 2023 01:54:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38H1suTN090804 for fs@FreeBSD.org; Sun, 17 Sep 2023 01:54:56 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 267631] slow nfs from stock FreeBSD kvm guest/client to linux kvm host/server Date: Sun, 17 Sep 2023 01:54:55 +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: 13.0-RELEASE X-Bugzilla-Keywords: performance X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vvd@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED 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=3D267631 --- Comment #9 from Vladimir Druzenko --- (In reply to Rick Macklem from comment #6) Thanks a lot for information! Where is the best place to continue this discussion? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Sep 17 05:40:00 2023 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 4RpGwK1PTYz4tYld for ; Sun, 17 Sep 2023 05:40:01 +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 4RpGwJ2trTz3KH4 for ; Sun, 17 Sep 2023 05:40:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694929200; a=rsa-sha256; cv=none; b=KizHewsx7ZojKFr6AIhC7sbGkacXwGYeZ+i2ynYrCZLAX6AHpiQHOyFqPOax7Y9cz8I9zW /XDNDgjrvZjgL+NFP6x3qNJqnRNXd0N/ztrKOfZqTgWt8WHLf3jZ0ufzdixvcW4+zaOml+ 0F9ho3s9CUCZdcQz+0sPEkkriZuN3doH59joRKJZrn2NRKDy763X0ybHzRtjDRS7ylw492 mix4+DMAjerHxJ84AJUclriqG5g2pttfvTfr4KX8j2pLGmTcA0SFsbhv0KeUttHGxRZXR+ yGWrkIptetf3IRkIFVT5TQ1Ac4DdPYXBJL2EthC0RC0qKOWs8EmW6LqYu9sROA== 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=1694929200; 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=iIxGqEa/G7122bTPLdd4AqXIrjEfcAkdTiNIzNFiX5A=; b=t97GN77gz2ZCEpHt7jIzpD/GJbqGhMq1UvgxuEClm1F232UMN4eKAPQwj1feFrnstee/j0 +BJ9pP43+g8qgVmg2X0K1+xs6xJLyOO4h0QJ5ots2LC0/tR2SwJJpwes4NiV+w/PfkuJPE cDGTVUE7aBbcsz8fX4+F8SxbCOFwtmDThXgCh+h+i2zaXYG3yKgpeEX3uPTf3HOkhw9ayl vutFTwomReeZOqrGIMv1eD+53R8SnH2DX+VTxD0onUwJoh1pa0UEUwc0w8U6e+qCXxMQ6n 0xvGvb3+pHuaTn7mHEznqhMPys5B4KcFjsHwyC+gHulzWPZwPcsucbGWIzZ6yQ== 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 4RpGwJ1tJDzcrZ for ; Sun, 17 Sep 2023 05:40:00 +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 38H5e0xY016730 for ; Sun, 17 Sep 2023 05:40:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38H5e0Nf016710 for fs@FreeBSD.org; Sun, 17 Sep 2023 05:40:00 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 273858] zfs: a directory can't be removed and nothing can be created in it, but it can be moved Date: Sun, 17 Sep 2023 05:40:00 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@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=3D273858 --- Comment #3 from Piotr Kubaj --- The output is: 9613343378317154166 3880 drwxr-xr-x 22 root wheel 18446744073709551615 55 "= Nov 13 19:40:46 2015" "Sep 16 22:08:34 2023" "Sep 16 22:08:34 2023" "Nov 13 19:40:46 2015" 4608 11 0x800 . 9613343378317154166 1783842 drwxr-xr-x 5 root wheel 18446744073709551615 11 "Nov 26 13:26:37 2015" "Sep 16 17:02:01 2023" "Sep 16 22:08:31 2023" "Nov 26 13:26:37 2015" 4096 10 0x800 openvpn2 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Sep 17 05:54:22 2023 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 4RpHDt1xQCz4tcWS for ; Sun, 17 Sep 2023 05:54:22 +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 4RpHDs6pNGz3MDM for ; Sun, 17 Sep 2023 05:54:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694930062; a=rsa-sha256; cv=none; b=Z9+wwY2YAKmKB2t/O+qf1lPbX1VzVIYNEDYKN3u6ac7+1ORgs4QXouuJMrbRy++mWhSRJO luUlzhs0DMIbPlIH5NriaNfq7WYgh9c+BynLrUS8eKGzD1AWOWSxiDRvqjTN2VhjgTY5U/ IF/azoIy58IDDXK39669JSTUxlRZrQeG/bFEPp9jaKe1/9SJlk0WqJI9TM7mSzFOqLx/Vb HhvhdJ1cIkDLWLDtnP669pdxv+xxYT7at7i7xTQGwgopcJppnpIiDFT1ymkravRw/KUKfl mEi0rb0EWQZqT2kcJaY+Ueg0EbRwcD7zmws/xhlCD/hBuZP1b2buUDWeJ2ILFA== 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=1694930062; 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=8GwiZ1aDEpj0SYnUmzstyfbtSbgHbiw01aV3Eh+HrJI=; b=l8t/EdH9e6vvqkx6kJ5CRacQFv1085liV/EMyrxzqJZ00q5ZBGAJy56ikSPSV1o0F54vUj MfEarLCDjUoejxsJLkwbgkxlwmAffbLbgJmaP+0XFLfIFeyR44IMuxMoybEFbUWIIBUVXm /T9J8N0TWfjq1VxnWNoZDDEACiWiifNvvAF8kshqtFgdF5SS6yXChrGBX1PSi9rjHWF+zl CuefT7TeLeaMZnYNkHrlIWyuDbc26Vw3CLeFSxc8f5oOR5IJLy4WEjCr20OBc0ppWw/bSf paR7FkQcFv+DZNZ5qtHfNhAl9zL4minUPL8HuUeeSHnj7as7A92YRAjY7tjmJA== 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 4RpHDs5nm6zdGL for ; Sun, 17 Sep 2023 05:54:21 +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 38H5sLO6043621 for ; Sun, 17 Sep 2023 05:54:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38H5sLK6043620 for fs@FreeBSD.org; Sun, 17 Sep 2023 05:54:21 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 273858] zfs: a directory can't be removed and nothing can be created in it, but it can be moved Date: Sun, 17 Sep 2023 05:54:22 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grahamperrin@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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=3D273858 Graham Perrin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Sep 17 14:39:52 2023 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 4RpVvD6Y0jz4sx4c for ; Sun, 17 Sep 2023 14:39:52 +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 4RpVvD4Fgzz3d8R for ; Sun, 17 Sep 2023 14:39:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694961592; a=rsa-sha256; cv=none; b=DCiOFwVh9UKuswlMubjFbxm7RziQQj715Vg63fMs5j8il36MkOvHvBwdrntSVjZQhmne7L 7QPE7Fe6pNdDjhXA3TTppbbyUfk23+DlaxCTHkUCSZwkQJQa2sExE6kJAXH9MEqYtGkRUw ipaWveKZd7xwsEGPRHghGieTjUjqZ61kan7+AyeLm3uo89rHSdYINn8V6rbYS7qvarA8et V6B/CNB5bFZBzKnHvmjeKc7BSzuBey7Jtz8I1gwMa2j4bC6GcGNVcndidxeKFINFeaQe8X 9Ey8xQnIr42bN/Yb+hulLOJeQ2Rd4fgg4uSBvuhh5dKkwtZMYH8AdkyMXmam4w== 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=1694961592; 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=Azt/uLhC4kNeumZezOGrsGFsiKNjA9R/CBGrgSF3FH0=; b=o/jGK47gIKl80Yn84p+C/vcZ6oELWSY00zvzq0yNK0L4h3uFu8M72IYx7jxbEVXqoC9tVO /Y1rtvdTDusQjcYgGsJ1KaUTeBqKR98507KFO6zO0BkY2GSoukcHuyRexMIDQQid/kQzyI tFWpG0rWCVPBLra/es19glppCZWSqTJTm9RZxvmIpDbvQQeEAdnlCPJN1btoq28fpdSnxb Q87HM7tC3n0S3viNRvyhQcQUmiv/0LmuUrCpDQEZRR4a14rbtDm5gd84BacLdtUN9y+ciu axg9j+2J4Fg9F/TcOUbdciCsglG/NUhJcAjvBL0sP4uZb5m2t49pv08VXG4I8g== 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 4RpVvD3LcNzsjC for ; Sun, 17 Sep 2023 14:39:52 +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 38HEdqVj034984 for ; Sun, 17 Sep 2023 14:39:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38HEdqi4034983 for fs@FreeBSD.org; Sun, 17 Sep 2023 14:39:52 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 267631] slow nfs from stock FreeBSD kvm guest/client to linux kvm host/server Date: Sun, 17 Sep 2023 14:39:52 +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: 13.0-RELEASE X-Bugzilla-Keywords: performance X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED 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=3D267631 --- Comment #10 from Rick Macklem --- Either freebsd-current@ or freebsd-fs@ are good bets. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Sep 17 21:01:04 2023 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 4RpgM53jCyz4snql for ; Sun, 17 Sep 2023 21:01:05 +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 4RpgM451lhz3JW7 for ; Sun, 17 Sep 2023 21:01:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694984464; a=rsa-sha256; cv=none; b=xqSdgCH45ViE91pY37AmlgMxZHTceIGCRRSlvxB6skTFHFdU4Ef7oPgs7x71sikBaHjiSf wgtpPaaN/MKEunEi27bPnA9Py/Oaz3j9nBTQR7IeryEaqS/KzezqwBxrRvcaRagr7qMWOM OUy8loOcppjhwIqXUqnKAhLeFW9cXOHo5RsNshGiTqiLQEAKz2snVVve50IWC4AY5gF6ba N1OfbMkrI5rpvms+CY15NN4cEq/BqisJVPAcJuuopaJd96i5TPquXxtFZi7d2bG5i3I0YS r0kJ1CRHdqXwSdphvvtkNT59RU+0Y7sTFkZr3rulU+UA8hWeQdVazbOgwFGmuQ== 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=1694984464; 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; bh=5S2KZe2ounCWPTgFD6NIAm9uLxjSYDshR+SKX4SbpdA=; b=yBCk2KEUtwvYLIEEaMA3RV156UArB2DeQyA8umhfa1Y9PDOEn2Og28Pr/al39y1pV8hn4l y6ktk94xhyGEx2RtMMmE8gJ+7uNNBy5zWMXyQU7pEKtj0esJmw4xAAzNvk2kusCCLnt8uq /If6lXUsZb4w6trqRX73LqIJYA/yZN3859+SblX94X+xKfoadi6gaVMLYXy45QIovGZPzQ vS82yYJcfsZzqZWpDpTfeM9ET0khBeqCFbUmx+mUhNSKzGMKgkXP5AEKijpptQtTmSDQzt /IAJG5LRutd15yqb1Xr1NP6LznPXzpfLRKS/Prd2Jua74gLiKq5VojxKO/wGLg== 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 4RpgM447gNz14FX for ; Sun, 17 Sep 2023 21:01:04 +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 38HL141v087473 for ; Sun, 17 Sep 2023 21:01:04 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38HL14Bs087472 for fs@FreeBSD.org; Sun, 17 Sep 2023 21:01:04 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202309172101.38HL14Bs087472@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: fs@FreeBSD.org Subject: Problem reports for fs@FreeBSD.org that need special attention Date: Sun, 17 Sep 2023 21:01:04 +0000 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 Content-Type: multipart/alternative; boundary="16949844644.9aE14DC7.81581" Content-Transfer-Encoding: 7bit --16949844644.9aE14DC7.81581 Date: Sun, 17 Sep 2023 21:01:04 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 237067 | ZFS: Crash in vdev_dtl_reassess when using GELI w Open | 244692 | gjournal: Does not support TRIM Open | 269503 | docs.freebsd.org: default vfs.zfs.arc.meta_limit Open | 271384 | zfs_load is not suitably documented Open | 226130 | ZFS: solaris assert: zrl->zr_refcount == 0 (0x1 = 5 problems total for which you should take action. --16949844644.9aE14DC7.81581 Date: Sun, 17 Sep 2023 21:01:04 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
Open        |    237067 | ZFS: Crash in vdev_dtl_reassess when using GELI w
Open        |    244692 | gjournal: Does not support TRIM
Open        |    269503 | docs.freebsd.org: default vfs.zfs.arc.meta_limit
Open        |    271384 | zfs_load is not suitably documented
Open        |    226130 | ZFS: solaris assert: zrl->zr_refcount == 0 (0x1 =

5 problems total for which you should take action.
--16949844644.9aE14DC7.81581-- From nobody Mon Sep 18 18:18:27 2023 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 4RqCj033Nyz4tYtC for ; Mon, 18 Sep 2023 18:18:28 +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 4RqCj00PZZz3chr for ; Mon, 18 Sep 2023 18:18:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695061108; a=rsa-sha256; cv=none; b=YCYRIM6KUKAKrTtMHo032NFNlORpzEXuA649J+hbhyI+hODVoLg8sBL4WDsrEa7X2f3SXs k0UeNVtn0Hqi/V/0gZ9kWt/FzUJUc8sR67TTL2ozlYviLvsAm1Y9UPT0XiZNalqS2UhMfS G8dkRGB9CtywQei+JZIK63nG3fnKRzOQPDCpLzbZBMkl1YEu10vfTbuBib7WIoRo7aVc8w l5EbXusBURvhUmz7PJHEgEX7Djjdb7F4JbQa+/+9huyEKTHcCrbpxvRgCiJrcMUvSYJVnn XLAq3W1n9CtXNULzjCKPCkADpYb0rGQvTTcHjQXslNL6V5OsWnLRabkuRNRQjA== 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=1695061108; 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=8EjZRLXtDJdSuhbvTEpDiyWL8WJr8kWTeQo+rDxNAjc=; b=ldppm9SBHKUXHt78QErEaoC/2v4PIww74/S17zBltjIlY2qN6tqMRLe4+QcCeoFV00G750 mQwq82H58E37ZsUU6TG6H3sKdBbKphhxxfTwBMzaK8osc75uP7N3Na6vGDCX4qU+jGqvLT gZ0PaFzHUVAvrouV9ibUG47vEBZJy9IwNbF512vBsKDIONOElXeiWyp7Pr7RN7TvWrwm6A 8vRN5y7v4guEKPCd6dbHswGSy5NNkEahBTKEabhoFDM61mJsUhFBDYmKse1VVTVCy8+6mv wnBdi4oV+xgB+L57lM7jrRQ1onxSV0+xUGMDZYFKownBGNXn5Bmm+Z7wVLUnAQ== 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 4RqChz6PNrzgfJ for ; Mon, 18 Sep 2023 18:18:27 +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 38IIIREH045906 for ; Mon, 18 Sep 2023 18:18:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38IIIRKt045905 for fs@FreeBSD.org; Mon, 18 Sep 2023 18:18:27 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 261212] Update the ZFS chapter of the FreeBSD Handbook, and other OpenZFS-related pages Date: Mon, 18 Sep 2023 18:18:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Books & Articles X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: grahamperrin@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: doc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also bug_file_loc 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=3D261212 Graham Perrin changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://github.com/openzfs/ | |zfs/pull/14359 URL|https://cgit.freebsd.org/do |https://github.com/freebsd/ |c/tree/documentation/conten |freebsd-doc/blob/main/docum |t/en/books/handbook/zfs |entation/content/en/books/h | |andbook/zfs/_index.adoc --- Comment #19 from Graham Perrin --- Two of the list items mention:=20 vfs.zfs.arc.meta_limit This no longer exists,=20 % sysctl -d vfs.zfs.arc.meta_limit sysctl: unknown oid 'vfs.zfs.arc.meta_limit' % uname -KU 1500000 1500000 %=20 Bug 271003 comment 2 draws attention to merged pull request 14359. Related:= =20 > Tag 2.2.0-rc1 =C2=B7 openzfs/zfs@009d328 =E2=80=93 with features including:=20 > - Fully adaptive ARC eviction (#14359) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Tue Sep 19 11:33:12 2023 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 4Rqffw63g9z4tpW6 for ; Tue, 19 Sep 2023 11:33: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 4Rqffw3QMzz4F3M for ; Tue, 19 Sep 2023 11:33:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695123192; a=rsa-sha256; cv=none; b=IqVSnHV8Z1QoGepzEvONU+OOWU1gDJiFytZrSA7c6xrg5S4dQypfuFf/w1A3awNp3crpZE vLAwMeLOm1hnvX1ALhkInWxnuZSsQiUkyzCfqWKKc0Xsaid5xggGZ78jP0l/3ypqI5eXKh lT37MTeBrfxbhjeibqQp41piyVlIUx7rmoPnOclZpYNLx0kT5h8sLZzwXixszfkQkGnRHZ O/uAhXxjNJVpFl0q2OzbOaCo/HxYEwxV2g6Gwxjhfsoy3bFBd3QvOrQZJQNZnKws+wHD0B qR3Y2uTgXb0KjOYwlWoDWU8XcnvA+J5rEsgvgkfTcf/Dei37v5jZotqGURQe8A== 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=1695123192; 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=Htsc8m0aIAeTeHs1MC3088hptUmOPDb7OIHSaW+7EWM=; b=FCqhcgruCFyU7EU2ftnDGsNTBaxwZtWnH/FSITakGdx1H28aCSH3mob2Ew53Cc5+MTMLLR PLUjjmQ/pqXXz+1cOSKQphynyLE6pO90FPr6wLpLrah2okB7RHhR0I8TIRSgymcM+ZL1sU CWmOacRYI6Xarp3/O22f+KlCJVuQaYrBn9XPwAAWuhAvs1u7sHvCChFyK/k7eZQFFiNFNL OANjUU/z7zfoebIa3J6bmL7xCxVXszSnqTrI4WcTX1B8TXduOcUfqQTzkiwWMCfLoskjRG n5tiwz7bd48TjEujUNuwr+uxBohKKclcv1zAFUgpaRpDtxoKXLdAMikZyWYyJA== 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 4Rqffw2Wc0z1BXr for ; Tue, 19 Sep 2023 11:33: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 38JBXCvv096754 for ; Tue, 19 Sep 2023 11:33:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38JBXCPI096752 for fs@FreeBSD.org; Tue, 19 Sep 2023 11:33: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 273858] zfs: a directory can't be removed and nothing can be created in it, but it can be moved Date: Tue, 19 Sep 2023 11:33: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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: Open 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=3D273858 --- Comment #4 from Piotr Kubaj --- I'm not sure why, but today I managed to remove the openvpn2 directory on t= he first attempt after not trying since reporting this bug. I'm 100% positive there was an issue, but it seems to be no more. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Sep 19 18:00:49 2023 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 4RqqG96dcMz4m3qy for ; Tue, 19 Sep 2023 18:00:49 +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 4RqqG95YVXz3Kpx for ; Tue, 19 Sep 2023 18:00:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695146449; a=rsa-sha256; cv=none; b=wN5xEdduB0q7wqaQBfw+9JECp2YOK4CxKQEG7OkVXl/7YodbtyDSRrONCMzV/ClULwhInb 8MdyNoImRHPnksZPjk5EEb2qR3scUWZDJ9QCNpZQoFSM4zikzmHMPoj7U2x+3WhhpA45Pa 35sDebgdjvI+pRKAQeXhozZZXyTC0OD7ezNlCH+XCANBhH0yx9e9oskbsUiI8hO97dDx6E DVW63ko+E4VrXfLxf5JXsiRPwSvXrwao8G+HC5m2bnPsVqgaVOXfl3TT+Z8CpoymhyMGlO o1Gfe70/QA3l/4pPUB96QpnvkwEZHgDwwN+L5ckKMg35p0pj0clsjJt898hl/A== 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=1695146449; 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=WhxRn6H0QMDeNQ/pHoj+IhNEmu+NMhzyo/uMSesTMuk=; b=GoyERrglFYAwzgdT5l01QMi8NC9PZ3gB4EOSkBLuiy8TrCXSUUCed3S13M+UnxscvKpURW u11qG/I71/8iM0bPQh+w/26ZWBodxfIK4eaf3JvOYCGjpcA8k26xa97HwU7gr4MurIpPo/ 829tCGwNRfeqEBmg3UPcT+xFiGfv5IRBoGgCR+3ZfLg7wHA763oWdRuV97v+w1CEIMctef w68wg77aWbSOYgIPyVv5F+jSGwFgUBcyVzsSv8Zdby0/LAPxwl90KI+s5NgJXgyN7iPhMP DevkLsgPh955wVhlft0gXLm+RWLGuVhcypNozm/Idqy7bOyeqR50dW5Apf8yvQ== 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 4RqqG94XVKz7hf for ; Tue, 19 Sep 2023 18:00:49 +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 38JI0nfB052663 for ; Tue, 19 Sep 2023 18:00:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38JI0n4R052662 for fs@FreeBSD.org; Tue, 19 Sep 2023 18:00:49 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 273942] fusefs(5): read operation changes ctime on FUSE filesystems Date: Tue, 19 Sep 2023 18:00:49 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: grahamperrin@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status short_desc 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=3D273942 Graham Perrin changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |fs@FreeBSD.org Status|New |Open Summary|[fusefs]Read operation |fusefs(5): read operation |changes ctime on FUSE |changes ctime on FUSE |filesystems. |filesystems --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Sep 19 18:37:50 2023 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 4Rqr4t4lMnz4m6ZD for ; Tue, 19 Sep 2023 18:37:50 +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 4Rqr4t0V8Wz3PTG for ; Tue, 19 Sep 2023 18:37:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695148670; a=rsa-sha256; cv=none; b=qXFUySMlnKx6y+iO5ZjC3MGaqOcUNoj4EGhVXiq1GXLFg+LxqfaMFxwQ8iZpv+ZttVqjQd GdKLGx2X0JwpnxQmTfZNBkNJvp/5BET01x6gsIVYq5xEgU3sKnRGLXkU3gr7j+D5BPx9wH k1KN/XDsMwqjrnmXDS5VcsfYmIzj8Eb5NGQvVQr2jsVmBUMK5Yy2v+I534r4dJ1OzPrx7s NOtlri6+3NttOitszNq4hYI5dZ5GOGNI5n4Rytw4E5hKIBHJATi4ZDFhVRTaWqX5+GCzpf rCIVs1zxB+aVPlwHU9DwsfoZZoD93OTzpKjaCADErzVOaIOwQbar+ULFyDo9ZQ== 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=1695148670; 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=LMxO2Ulwqaf706VSBF8WqZZqQB+CiUBf1sZ/PzT2NnQ=; b=aQQyboKw/XmRMFg1n+vhGkwFn1F8D+BCkHfTajPznm4wxalWV3etNFJbX7gSyU2WbBp+5f 3LusQuyUfxHkR4K3tJnEdur9HFS8neoNdDE/l7tK2NxpXJROhYkupdm64DK0LIGLYFFQQT cNaHWIffqWGBd78reWfNM7EGvLyaIfjekjAJbxzM9JklcdPGkKQmXGfNFUOAjuTvq4KP0B upCzeIDXvghD4RJdDAXPnUWfGK8TkW4OalIL7aKbJ1Pxno/pWsPExbQ2stcn14rS46MuE7 NOsCsAGxHbsG56sGlvdPF8g8OhWsVv4rs7J2WjmeN0nUZF679R+1U0fjWHGcKg== 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 4Rqr4s6Y6mz97v for ; Tue, 19 Sep 2023 18:37:49 +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 38JIbnmQ010930 for ; Tue, 19 Sep 2023 18:37:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38JIbnwh010929 for fs@FreeBSD.org; Tue, 19 Sep 2023 18:37:49 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 273942] fusefs(5): read operation changes ctime on FUSE filesystems Date: Tue, 19 Sep 2023 18:37:50 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jfc@mit.edu X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D273942 John F. Carr changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jfc@mit.edu --- Comment #2 from John F. Carr --- This behavior was intentionally added by change 91972cfcddf950d7a9c33df5a9171ada1805a144. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Sep 19 19:00:53 2023 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 4RqrbV6FZNz4m850 for ; Tue, 19 Sep 2023 19:00:54 +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 4RqrbV5Djsz3RMD for ; Tue, 19 Sep 2023 19:00:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695150054; a=rsa-sha256; cv=none; b=UJ9pCQWlkf6Y1UT7DqODL2ZbVAzsuOFhcxKGuYloMHqsO570hXyMNovKN2+5Gt0wGA3p+Q T7DIME38VTlBYLakuVDwtp2B6eNQWgjyU8hpahsK/r/mhLHI61tI8DLcsVfOsLxFN9PyZ/ gJR/dWBZsSWSQwiHtcqBsrDemjhRLy03c7ugpcXhV5UGmyq2GX+U2yZPIDc73UaeWQpHLG 6CN48LP1aXDxNAUOmfBWYNJZOWP4WiClLO9XGYPtXH9YP9VuUq8ibkD1HdsMi8MQqbvyl2 kyhv/n1Xmo/yrPrMJCQ+MSLJzUjKCvK2sqA3qGfvR8SXTeOOarvnAWdxYrT7PA== 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=1695150054; 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=yERyESaYT8euwvt3DRFLH0CMaNV4TalmBm5B7qlnmiI=; b=sLMN53XYDQ420xB+uPWiLw41dt5v1ihTq75Q6nw9J3Z5UodS4dgPTpnysZipm4F2HnDdie u4Lul4DL1Ng9rN7n/+ES6AiJ0crrgxvSagGy2kvovy22NNWTKkooHk/O4da1/SmkFkDzuC wSSpW75Yn1z+19pn9AApFqfZ4zhiwdDOn8sFQIm+Yc3rXUraYYmrUxa0Qk7gewjNxd+pdK CUHaEfZIcYgVjR6w2JgkJ4wljeZU6n8U5nmXqjgjKUzm7vx/ARUu2ADS+zXT/xQgB0+Zt5 VhiROzGmDUhHHWXYoKQllDmjxryJTp1XGVgnAfU2pkLP1yWQJKeaZoX6BO/lIA== 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 4RqrbV4J8Xz9Rd for ; Tue, 19 Sep 2023 19:00:54 +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 38JJ0srR043055 for ; Tue, 19 Sep 2023 19:00:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38JJ0siN043054 for fs@FreeBSD.org; Tue, 19 Sep 2023 19:00:54 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 273942] fusefs(5): read operation changes ctime on FUSE filesystems Date: Tue, 19 Sep 2023 19:00:53 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jSML4ThWwBID69YC@protonmail.com X-Bugzilla-Status: Open 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=3D273942 --- Comment #3 from jSML4ThWwBID69YC@protonmail.com --- (In reply to John F. Carr from comment #2) This, https://cgit.freebsd.org/src/commit/?id=3Dd109559ddbf7afe311c1f1795ece13707= 1406db8 ? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Sep 19 19:01:58 2023 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 4Rqrcl0J8Rz4m87b for ; Tue, 19 Sep 2023 19:01:59 +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 4Rqrck6M9xz3Rfj for ; Tue, 19 Sep 2023 19:01:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695150118; a=rsa-sha256; cv=none; b=Yh5LlLTsf7JjlDKuCcpiUkbeJnKXwDBKFOZOM+nXsaZCvQdflc3S6Apu4DQVUVJLiRZPI8 /gMEF8Gz4z88epsLjWfU+tTDrZReeHv70aAtSGUNg5doY3xd0PJmJOkFJLiKw3M3UKh8RL QcyuiIlbUwtrqa0CVX0VZaf7ej1hTccXG9rzuR2IrF5G76p6q0avRyViqLE51TK/AKZJkf 9+QK/rBRiSWZr6ntvBKtXWMV6A53VgfdNbWCZ8uYRfeEMau589yqrZTFjMruQRlBYeVKcN CZZ4DFwfWkiN8UV1PgvG8fLps2vZun8gfTv3Na4qtOf6gz/tGt5xyyfUXxuTeg== 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=1695150118; 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=eyVWyJlsSnCeHZFeSN0TSo3+HynDJe3Fem/+WwH57Js=; b=GzgXRcr/BSycOeXIZ3spfEZZAbwAmf+FnOS4QjhP9IhBtB0DQDk1rryqkNLufj6jQC+6WH 8YGAE8WR2lGdi6rMhq0zzQ/NcTDr9ThlJ/PwFKXtvwG8XfL/29iYxxi9eEP1fuzKuWrnaw I8iOMJmHu+jAlZ8C8Qnul7kFoMcWF8kVR+4nT9hUw2Kz57rHurU0ojsNOSci19P4VrVl69 42Crj1n2wjUuFuYZfzrgNBmOAUNz5wtUGe6IBCHJ21tC3zYbb/gf3mPg6S5WbbFx7zGz2W MVEc4E05hLztCY3YrjxpGsckfW/oR59gXsaw2G6t/JbjQF7JN61OhaKc1T/kvQ== 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 4Rqrck5RLZz99v for ; Tue, 19 Sep 2023 19:01:58 +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 38JJ1wRj050300 for ; Tue, 19 Sep 2023 19:01:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38JJ1wcZ050299 for fs@FreeBSD.org; Tue, 19 Sep 2023 19:01:58 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 273942] fusefs(5): read operation changes ctime on FUSE filesystems Date: Tue, 19 Sep 2023 19:01:58 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: piotr.konopelko@moosefs.com X-Bugzilla-Status: Open 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=3D273942 --- Comment #4 from Piotr Robert Konopelko (MooseFS) --- I think it's rather this one: https://cgit.freebsd.org/src/commit/?id=3D91972cfcddf950d7a9c33df5a9171ada1= 805a144 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Sep 19 19:13:16 2023 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 4Rqrsn06Xhz4m8pw for ; Tue, 19 Sep 2023 19:13:17 +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 4Rqrsm66dZz3StX for ; Tue, 19 Sep 2023 19:13:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695150796; a=rsa-sha256; cv=none; b=mVy10o1MbNZmZz79tKyjIAxLnoQIUt6fouK6mRMz+orEpw2/yDi2SNvk+KTlyWWiu9zfHv QlJNt8ygPdsdN5bG/ZodZSFj6RbNFG7x8wfMQ5HAR2GxerpvYpSw26UPSKeuQdJZBsfdtk dS9JqvZhDTKRVYtIFBAReYNRhoGFuuqTN2U53BP+zsGoWHBPIo4+3DMLy/HYgW/+gpegl2 IwiOthIZfnB49w+/qmyE8UCJ3Z2ea38BQJzGC0Q8vdfC87FjTyAClXioybpGa37tQQhzel uQSjwMhBBWHGSVzIz7D4L4l+yzsTlVozWMDhqyAwRFLFXDgb9MUy/xIX1TRbOw== 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=1695150796; 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=SPZ7W3nkNFIPfTOaqxHJLL0sEcF6mmybvXO/cvB6oHE=; b=GEtKOK/vsxU2p612mNXu/iLPwT2X7wKmjKuhTj/OticWem0CSEEqkZAJIe4uVWmGf6V3Pv aRX/bSKVtEwPQChLcwRQyoF2OL8Rvkmfyg96e7TMx3rPJKZmUzSNFj5qxEO4ZCx5OzXZKv 7SWrjAt8Td+g2X7srFGK8lMQIxA8pBCRkZyPjbMg48SqcrVHrsOg0qJkvfAYeCXsMPecoN lpSVTnnJ050GP6HEsN1KPfbY8o9p3ZGBAZ+//b+f98KvV2fwXJ2OFx3ePxx3veP8PV+wQd iXvBywDZPWwBbvfgtQHYYNxd8Nek/vEh1mF/RdKu0T8y5heNnjhtl1I5JYuuag== 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 4Rqrsm53mBz9r9 for ; Tue, 19 Sep 2023 19:13:16 +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 38JJDGhA065745 for ; Tue, 19 Sep 2023 19:13:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38JJDGvA065744 for fs@FreeBSD.org; Tue, 19 Sep 2023 19:13:16 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 273942] fusefs(5): read operation changes ctime on FUSE filesystems Date: Tue, 19 Sep 2023 19:13:16 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jSML4ThWwBID69YC@protonmail.com X-Bugzilla-Status: Open 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=3D273942 --- Comment #5 from jSML4ThWwBID69YC@protonmail.com --- (In reply to Piotr Robert Konopelko (MooseFS) from comment #4) That makes more sense. Thanks --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Sep 19 19:30:19 2023 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 4RqsFR6KwNz4mB8T for ; Tue, 19 Sep 2023 19:30:19 +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 4RqsFR5H2fz3VjX for ; Tue, 19 Sep 2023 19:30:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695151819; a=rsa-sha256; cv=none; b=URBOrydD1rg8MAGx+csl+bFT0Bykd9GRJ5ax/UybpgV6pdBD8mgEgCZzRCqCQDhGDYbJq+ alGxEy5ND9ik0Njd8wdB5VOjcE7eEfU0Hc/ChA2UOScmXKxMD8jkU0otQBGlCErk08gTtJ t0pbJ+NIZOSknCYNf9j/ycHTgMo7DT5oSbn0VgYHgQbb+Wu4tyoU+YCmD+/tF6pHOrVIpL frcM8xsjBEkhGXAVFEb38aWKkGrH2AS+zRwbJMsjWiuuCkMURN1QrcEQwNCkv88lwvx4AW oO8P1/cXQJwRaCV9x5oNNOuMzeXRmgREsyboYoH3Qe2wU7su05b46SjjHKbL3Q== 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=1695151819; 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=V27MM+R/MnN3wKvC4o4ByaCjMOYx8iummNVDn2ZGRdU=; b=SywvdJVw+SC4qbzs7WaLB++2kKGABi7/+gRzROn9Rsv8vGRMhhK3povxFC/AvmU3TVRr8l lCsE6lSCMrAGhS6AvV25JZMNtSP6pFZkuWdUoIVw3Ti5ck+MPcUpuW4cCFlBvEbx+azH5Z 3yym3bPHMvGgx4MHx/CAG/qJ4fjAZerIh7aSUOxDVW8Hhd3tD8BgDn4xmPeX/csyA3pXDf ZmMTYdrsJMflJgZ7mShtqaPAfEEqjwL2FLEtxCE0r+cPhVnCKsnXW+dMGqx8f/24Vo2yEi +LAqkswAcKJUd0KhDizAObF80BB+5OPBM0std93aw/MWW1VntXbheaMPpw+cSA== 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 4RqsFR4JvDzBKr for ; Tue, 19 Sep 2023 19:30:19 +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 38JJUJqF083543 for ; Tue, 19 Sep 2023 19:30:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38JJUJ4N083542 for fs@FreeBSD.org; Tue, 19 Sep 2023 19:30:19 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 273942] fusefs(5): read operation changes ctime on FUSE filesystems Date: Tue, 19 Sep 2023 19:30:19 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: chogata@moosefs.com X-Bugzilla-Status: Open 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=3D273942 --- Comment #6 from Agata --- Well, it's not a correct behaviour when it sets an arbitrary timestamp. As I said - using "now" would be OK-ish. Using an arbitrary timestamp makes the setattr indistinguishable from a user-made setattr, so it updates ctime (because setattr performed a metadata change), which is wrong. Best would be to not set anything :) FUSE leaves the atime/mtime/ctime hand= ling on the filesystem's side, why force it? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Sep 19 20:54:44 2023 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 4Rqv6r5XpCz4mHc9 for ; Tue, 19 Sep 2023 20:54:44 +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 4Rqv6r3RWLz3bG3 for ; Tue, 19 Sep 2023 20:54:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695156884; a=rsa-sha256; cv=none; b=iAaUHUrurlWFMFToLcAFltIejv5BuJU1SX2hYzGUTjkf2NXaOa37/gza4VRueS7HWtcM64 9nqqhtxcm70J1nzT58nKcoZBgJsMMUwkpS16DBH2rCHpJdSQzf6F/HstIPj3Sj0jCXlBc6 GSqTfZuyvxLq+PQlaoVRFbK99FzRSJ9CjH3/UsC/Gu+PmUUM3DBgtTs3U8lLQAMcs1M9sT wgJekZic1ILatawuXOE4lYGZl+b0tpmCozdx6pf0F7pgWC6OSHIGGkRxfqgxgCYqfTQhUE ODKz7MnzJZd1W5MEtZgKOXtg7Xlbfp46fapkyAOafDZSjOjrCXbv0KiUq1dH6Q== 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=1695156884; 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=n+IgEjLc/5YMkabAe1X7dNSNNTpmo7PgNVQdAU+0AV0=; b=x0H7F9BdB7KXvol4W/J9jhmQiZ73kwowfdJZke72PUOlqD1KMOFcHD6tjgUyH6+Yv9bcTy xBmd9qiHa7jqkciMCF6ErRDGb2Z7X4lq7MebpvAE9FgzQsaWhFfPTJ9hA+DRFNJSYLIyZ/ vBoeP77hVjYunUvz/3oobwVJar2lNjiS1lX4iiSKZllzNLqeMw2Cgk/+9h/glQtvqcJL3u nRRDI1uZ5UWj1odgVNwDh9Upv7T4MObhB+Mxq9cOcZ2szwIK4u5ldqAAzI0lzjhNHSNhdw j9/TadIFPGSnh8ZPb5NEnL35Flpgw7lmd0QZ5E0vfY2sDg9xrehpJFHLd+0Bkg== 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 4Rqv6r2W9pzDC8 for ; Tue, 19 Sep 2023 20:54:44 +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 38JKsiWh008255 for ; Tue, 19 Sep 2023 20:54:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38JKsiCZ008254 for fs@FreeBSD.org; Tue, 19 Sep 2023 20:54:44 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 273942] fusefs(5): read operation changes ctime on FUSE filesystems Date: Tue, 19 Sep 2023 20:54:44 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: Open 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=3D273942 --- Comment #7 from Alan Somers --- When a FUSE file system uses the data cache, then the FUSE daemon cannot ha= ndle atime updates itself, because a read may be serviced by cache. In such a c= ase, the OS must issue the atime updates. If the data cache is not enabled, but atime and the attribute cache are, th= en the OS has a choice. Either it can track atime updates itself, or it can a= sk the server, which causes a new FUSE_GETATTR request after every read. That kind of defeats the purpose of the attribute cache. It seems to me that if the OS sends a FUSE_SETATTR with the valid field set= to FATTR_ATIME, then the server should not update the CTIME. Do you disagree?= =20 Fir if the atime update actually came from userland, for example from utimensat(), then the FATTR_CTIME bit will be set, too. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Sep 19 21:23:33 2023 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 4Rqvm61CKfz4t0g3 for ; Tue, 19 Sep 2023 21:23:34 +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 4Rqvm56lRtz3dHc for ; Tue, 19 Sep 2023 21:23:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695158613; a=rsa-sha256; cv=none; b=gOzs4Qze12PdElPOC8Nk8bBwNbBrLEfafWuj4gnpZgJAGMDvACaktJafL8O1CvudJwv55l fKDq3+QnUv5egJVDaAlZzrhKt9UUFGZvfNzk4iLNPqY3/v0V44vxHjAieojTJgR8AkYtCw T1U5QJjxMVbCZM2c8We/5beDvMOzMNdsm4mOfPyZhRAgODh37EQOTOAoVvZa70011EgUqK IEg9WbiiT2n0M4flnOWBKNVBOIg5lUsp0JdT+b86FMYKo0JgNNINGZfAW59h2lns/I4QM3 doYQwlvXo6JqoEKx0XP5CMzRvYledeMBTPipHZpR+eGgAW5uasbQV9XmkAr8Zw== 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=1695158613; 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=txROLJ9+lY58wa5thL4I53kzE6ixHspxmEmbATmstn0=; b=lIx30bvdUJ8EbOaI9IoJKzbCDFozkumtgSPyadmSlQfomrWvsDdDzoNW6bR4GsLgYdA714 2I/FsCEd7VG7cKjEwrdNec6q5nw8yb0XT9Z02vhIUUJsIBk4EMaK/Hc4A7B4Fzn757Iek0 aA1CKV+t/5uTsidNx7sXpbMbQjt7N/qTdn0lfllI1X6fLz3OKCxgQDrSTYxObSIxW+D+AQ V/AWpghhn/tsn1QBvPX01SBP6gPos2dke9mVeOU+Ht2siyEX0MitaIfvhZhfnT+JZVpEvb RdeN4+FZyaUfJuKn+sA6nvSMwwqyqTsHMQk+Jq6zDHV1MWhzpHOuGrJbRUSbcA== 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 4Rqvm55pknzVFM for ; Tue, 19 Sep 2023 21:23:33 +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 38JLNXkc050700 for ; Tue, 19 Sep 2023 21:23:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38JLNXED050699 for fs@FreeBSD.org; Tue, 19 Sep 2023 21:23:33 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 273942] fusefs(5): read operation changes ctime on FUSE filesystems Date: Tue, 19 Sep 2023 21:23:33 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jfc@mit.edu X-Bugzilla-Status: Open 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=3D273942 --- Comment #8 from John F. Carr --- (In reply to Alan Somers from comment #7) It is apparently the responsibility of each VFS implementation to update ct= ime in response to a utimes() call. In devfs_setattr there is a call to vfs_timestamp. In ufs_setattr there is an invocation of UFS_INODE_SET_FLAG= . I don't see anything in fuse_vnop_setattr() that would update ctime when a program calls utimes(). Is there a spec saying whether it is or is not the responsibility of the fusefs server program to do it? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Sep 19 21:50:49 2023 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 4RqwMY2jVjz4t2gv for ; Tue, 19 Sep 2023 21:50:49 +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 4RqwMY1N9yz3gtM for ; Tue, 19 Sep 2023 21:50:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695160249; a=rsa-sha256; cv=none; b=Jo8pH1AZP5Jvp8TdESee99mWhs6xJ7oJU8EEajy54J/Sc8puuqar67hGzn8YWdueg3V+GJ DV2eXbvz597P8Xg9+cm3R06zFVbBaDOP5eo3W5iqJCMhM2GLKUPDANFdsYXQr35vP5DIj3 tUZa+CLVnY1hIIIwrcjXRMav7E/kiA81FfnUXMw9ZIx7aIziq4LmY6wsWSd6i9om2h/5c8 lWo2DwFoEpnAX+4rRgzl9Elu4MNG14yu+CvNwJ6/bv5KkHDNrJ4xtg3m6pJ1EKqhTMnlOg IztjkGyh9xyBsrkfPu5aXdnZE+Om5ICbw/4HdRcZbMMfViTxSPG33G6Kr1A7Nw== 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=1695160249; 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=gij1ANYK5/4Ijgrsngc7EZROolD+e+Zml7HD/5DvevI=; b=yZOScS4W6UmS2gRKXwKe7h6xq2SwyCR4qyl/fwLR1IgjL5Qjgg3k7YsMCuTKDqmmiR6Oy4 cDcWpdW5P9xThVkEZeQ6+zYOdxgt+o9mr4jf27VgWap1F3oC8D4a0kt3JxKui4Twrigqhy OHJ7pq76mLNIhLM/I9YyBUN73eGsusNsedrwXpdia9iMvf1Kfm6sv6m0gFhHuO6Lsl5w5U sLxqrFNlki/QbiBKAmSySU9bBOK16a/0B2tQC9QP2QzkmA4YCgAT6Ezhqe8/eSmkwd1VNG Lo02h+fWg9iYMurZG1mwUHzbg8BFIgO4pvg7g1Zg7d9hu3YC/pM7SEQopaVNIA== 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 4RqwMY0TKhzDTN for ; Tue, 19 Sep 2023 21:50:49 +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 38JLonIF082489 for ; Tue, 19 Sep 2023 21:50:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38JLonnS082488 for fs@FreeBSD.org; Tue, 19 Sep 2023 21:50:49 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 273942] fusefs(5): read operation changes ctime on FUSE filesystems Date: Tue, 19 Sep 2023 21:50:49 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: Open 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=3D273942 --- Comment #9 from Alan Somers --- (In reply to John F. Carr from comment #8) Unfortunately no. There is no spec for FUSE, and never has been. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Sep 20 01:23:54 2023 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 4Rr15Q3P4kz4tJhn for ; Wed, 20 Sep 2023 01:23:54 +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 4Rr15Q1wpbz4Vg2 for ; Wed, 20 Sep 2023 01:23:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695173034; a=rsa-sha256; cv=none; b=Si03cRg+KENBRle7OLsEkjAoVI2xed2uO5AIugNUqduoIIGgFmnD70zDhcw0n60A1FlAes iZUPyu7EuST0+e7FlssolAMJ8TBCa3fuoUladjk11r+ZExqi9MRh7VlzMpQEpUR6SZoJMX 1xINolmFIFVA4WitE2PiTiYJ9necmc927UbtIxUv+bGxLCvM1HKMo92xXpVxTFkYrTgtpv 8ID8ltZoi0jhDzPJS7k50RYQ6ossBdtCna19yVhNFzr/DophmAQQ20uWf7YRKg1kz8Wer5 QIpnyPJMBpfNUJfGXcRW9pem2yEqLi8IYPHigoABIJ8GcZq6NKkwnoYzYq3P2Q== 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=1695173034; 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=9kqSDXP8li923h2Ew8cyClC8kL9O5Mf3Nbs6efnwEmg=; b=uF3vN/KPO6I8KrLaoKi/H/L1SLZ0AvXKOCtYzrq8Tl9WUxGrSXoLCFawocj8zrpBGjFneq 6tbDn9me3utiJjgYUTcHNVoKhIkUJQ2fzLDjoTy+FqfAWfOvQbHCE9a2i+Cx6GQ8x02lD+ d5M+6RQxrFPI4ehq6RkIEJSJoEOJvjBNx/JjS9HJplZSrXRZCkeK1l3kiPIoLddeg3dooD 3rP9Ysja3aQyeGNaJCINaA2mhZ90+Zo067IRCCfJekDtOh6c8LLd6rsEB2WX0mfn92MjJK vj+K4dNuMhGZweqGS32yv3s5FeM049jwcUrS2Mx53L+av7kV0kIupj6tyBjjOg== 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 4Rr15Q11Y5zc9s for ; Wed, 20 Sep 2023 01:23:54 +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 38K1Nsfk008035 for ; Wed, 20 Sep 2023 01:23:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38K1NsKI008034 for fs@FreeBSD.org; Wed, 20 Sep 2023 01:23:54 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 273953] panic: vfs_remount_ro: mp is not busied Date: Wed, 20 Sep 2023 01:23:54 +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: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: glebius@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: cc 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=3D273953 Gleb Smirnoff changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fs@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Sep 20 03:35:17 2023 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 4Rr4115tXKz4tSdN for ; Wed, 20 Sep 2023 03:35:17 +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 4Rr4114XNLz3F0T for ; Wed, 20 Sep 2023 03:35:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695180917; a=rsa-sha256; cv=none; b=VZ1ZqwPxTT5MbEYU6fhYfmqUCxLEtsr/40OEje0KpLQyvM6hWDDIpnwtaOe3rQJ6Yna5bo nyQ54Wn7kZBNSlxTYRe5T6T+sJRucWj6u4AcXWR+CItcWwYhILoxXwhsBw8Zl05tjAu01F IgIZCMl+UHpDSoiNpPqhdUUaiGPmiKPzEOO4ClF/tw+rYyGb9kSMqM3mA2J1vNoEcEaM3x ZD3SK/y5tk/y5dFvOk6BN2mN90uaLXG2KB8MXMomK7ZUgocDp9WnmQEhFm3/DMs5UQda/p d/e2096GUI5sK3vcWvEV/CiKZLhlirbcuDezuU3hDlwwdpexoGI6SfTCk48Bcw== 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=1695180917; 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=YMGsL5j9Ex+BOZTtYGdXApdGdgzTEYD+Nn+XbK7RtAU=; b=g2dxyDjxA02CKPkY3QH0Vpe7i3LA06SGKanZqAmargvh0dhrNOzkcYIbBc2D3d5nLSYY4/ eawIyIJ3kMbG/ZzMPZVP8M57aWgbM38F9ucjP6V3qk2RiviIX4a6ZTJoI+EJdQmzl/dhV6 H632sdTsBzYw2ZBRxzmR72yPvyIOZb5naULioRu2Z6l8q58DWwdKOQvrU0MnnOg85pEH0z h2zUi9QGpt4JuQTaHN/d+IiUNWCX2eFjMQwaBd/enBhTRvAR8HoGPpZ3cfc9OBmENXnLWO +3rEHk2lbt+TsgQVGc2R37S/ABYLQj1EYWHE4E2/R5jBzAU+VPCgHy4fcZzzKg== 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 4Rr4113VhpzgR3 for ; Wed, 20 Sep 2023 03:35:17 +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 38K3ZH9t011095 for ; Wed, 20 Sep 2023 03:35:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38K3ZHeG011094 for fs@FreeBSD.org; Wed, 20 Sep 2023 03:35:17 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 273953] panic: vfs_remount_ro: mp is not busied Date: Wed, 20 Sep 2023 03:35:17 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@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: keywords 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=3D273953 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |crash --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Sep 20 03:45:31 2023 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 4Rr4Dq6H5Xz4tTFW for ; Wed, 20 Sep 2023 03:45: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 4Rr4Dq3n26z3Fsm for ; Wed, 20 Sep 2023 03:45:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695181531; a=rsa-sha256; cv=none; b=xnCB2zz05Y2jYSsCuK+Amcn1p8JUToBIdWmI0qOnGsQHkEuX8b4kbjhLMmrhvyQBCwL0Sa GAFegzcdjYnzhFEEKKPR5vnep5U7Y6QTMy5O5iyzIePBwQ7jn9k0YKYwVUe7/zHtxx/+MP D9NZKUZtB00wMcUB55jYM+wT1mnRhsx7SMHMiLce42OaxOMBN6w6oRzQro2h/m2SBclv1J OUktZiYHNJsrpmo8r1HJPBxe24Xsqt9CFDqr3kKptYuGxCGNJtnb7cIK4lXWrbWF6Lw7BU UEkw6d2JED5S4hZXN9FUeEvY0TPoAqDAXyneDmJ0l7ZEaB1SUZbYOKEYdBmfGQ== 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=1695181531; 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=QD0BXs1yjGPzpZn92+/L2rc5hNDE+za1NGHX7enGuZo=; b=TsGPNU6v+7Cmfb0mUlOu1NkUlpWsfdHoQWaPRvzmbgGxNCTmd8RBNV6ebf9rloUayVaKMm YGH1rPmMj4u8XjNdtu7tiEyUhthdWIVEXLqn+TTCJbFismDRZ0EeakDGzNLiss6qxXV/ex ME8ApWPGEnWDsABhXWGZpg+nRn8KAZZrYOkywPXAHSaNyaYwNjpnqCWmOPYXOmnLXb74su iIyBOqD8e3n6+R69mAN9cpsGWjdMYBHGvzpFEqzE1gENxRycG+h5jDilrdr12j8x3Mjsr3 9ljR/N6WRmRlwGM2OHVt5UIzSsR1i6zJ5zoE+UK7AQt/tfhUzflAQcb870zA3w== 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 4Rr4Dq2kZXzgNn for ; Wed, 20 Sep 2023 03:45: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 38K3jVhr025989 for ; Wed, 20 Sep 2023 03:45:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38K3jVqu025988 for fs@FreeBSD.org; Wed, 20 Sep 2023 03:45: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 273953] panic: vfs_remount_ro: mp is not busied Date: Wed, 20 Sep 2023 03:45:31 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@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: 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=3D273953 --- Comment #1 from Konstantin Belousov --- This is cosmetic issue. mnt_lockref should be asserted only after vfs_op_enter(). Patch below should be enough. commit 5a85fa192ec81998b723361028da21c5bcb4e66f Author: Konstantin Belousov Date: Wed Sep 20 06:42:31 2023 +0300 vfs_remount_ro(): mnt_lockref should be only accessed after vfs_op_ente= r() PR: 273953 diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index 45ab9cfc93cc..8364081585f8 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -3004,6 +3004,7 @@ vfs_remount_ro(struct mount *mp) struct vnode *vp_covered, *rootvp; int error; + vfs_op_enter(mp); KASSERT(mp->mnt_lockref > 0, ("vfs_remount_ro: mp %p is not busied", mp)); KASSERT((mp->mnt_kern_flag & MNTK_UNMOUNT) =3D=3D 0, @@ -3012,17 +3013,19 @@ vfs_remount_ro(struct mount *mp) rootvp =3D NULL; vp_covered =3D mp->mnt_vnodecovered; error =3D vget(vp_covered, LK_EXCLUSIVE | LK_NOWAIT); - if (error !=3D 0) + if (error !=3D 0) { + vfs_op_exit(mp); return (error); + } VI_LOCK(vp_covered); if ((vp_covered->v_iflag & VI_MOUNT) !=3D 0) { VI_UNLOCK(vp_covered); vput(vp_covered); + vfs_op_exit(mp); return (EBUSY); } vp_covered->v_iflag |=3D VI_MOUNT; VI_UNLOCK(vp_covered); - vfs_op_enter(mp); vn_seqc_write_begin(vp_covered); MNT_ILOCK(mp); --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Sep 20 05:14:51 2023 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 4Rr6Cv44Kxz4tZn9 for ; Wed, 20 Sep 2023 05:14:51 +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 4Rr6Cv1N7sz3PQB for ; Wed, 20 Sep 2023 05:14:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695186891; a=rsa-sha256; cv=none; b=ae///t5r08hHtjbF9B8DMO2UGeQPLRtQbkELhPOybxc+OgoamODJ9cSuGBg0cG3uX3jXRp jm/BPccrTpXT0SpTm6jM8wGi2GUHqWo27Lz5+HF97MOuWYI6Q5aM8A+TufwtQ2lh+hwBFe yVUwQ/auGsfomTCT1ItPTJkVOimE5ch7iR8h8J/uYrMerIR9eV8DXcBXw30+yCDBanEE6K V3rtzHpntB6GtmFsw/D+YSJSBXBH7fYSpwPARFUwhMKRiqIgNUzzJfuR51d29Vh1K7S06H pSle+huLvKYBcNrtYdK+lOyA5LLj/LezDxjeVf1tTuVyK3AtaNC2KV/yO2Tz1w== 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=1695186891; 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=u0AUuIwQT6x7T2HslgMhsXPY5iU5H+WaDn2UOM62Ekw=; b=hpycfoB+VIizGXDTph4hTs5LgXa34Qip0mgsICnKJvWHjcYZqOPCdtvKCQ4LrWWDJKYo93 b/Fw1s4++7GWIvCiMehWeCO3Vu3m+imIWD3fT/oOQ+8OyQTTjWwnKxM5RwVfhc4Fvq2x5c LW0tPfeJurVU6U0Ekx8mhVTdCptBLrb8XKfqwbf0Bji6ULwa7r1lVqEE5sjAbdYT0JWGuA VYVV+jXq1kkan11RfgyCATS9XkIgpiZOTfXe8AWMk+wX3lhvULcnyyRb7Kpfi1SV/ESeiU BgnW/5ywoCCfOF577Se+Qm1orHaxUlkrzDxz8VQM+Iv8rHVNs9qf82Sd2lGEQw== 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 4Rr6Cv0LrgzjfJ for ; Wed, 20 Sep 2023 05:14:51 +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 38K5EoV1056799 for ; Wed, 20 Sep 2023 05:14:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38K5EoA7056798 for fs@FreeBSD.org; Wed, 20 Sep 2023 05:14:50 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 273953] panic: vfs_remount_ro: mp is not busied Date: Wed, 20 Sep 2023 05:14:51 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: glebius@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: 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=3D273953 --- Comment #2 from Gleb Smirnoff --- Thanks, Konstantin! I can't test it since don't have reproducer. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Sep 20 06:01:22 2023 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 4Rr7FZ6vCsz4tdNt for ; Wed, 20 Sep 2023 06:01:22 +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 4Rr7FZ5pm2z3SY9 for ; Wed, 20 Sep 2023 06:01:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695189682; a=rsa-sha256; cv=none; b=uWGI1YoqwpBP9VmlgfZeMIoVXMyifVmmFVmW3R5gIaxUznboRZXl+rFp+4+9EYAU7RXDmg gcdptPvW8Ic7P37sV/Xy8ulfj/kUC89doDQns91pfjboATdXTI2oE8CWGXD2HLQR6bsInV xBjsEfZqr/VAb4aLGLXtuT5MmYgS0T5iIhh6qIzNwUm4ew8NRkwqcr8kQCc1EBZ4KpF+A3 yTphwW22FGZgooZRQRdOzg01i0FWhT3eyvF/QJVhqxV74isaZea+rFIf0X29dSwI1TRnm3 H0Erq1xtTWPw1fSqy+VEjkQ9sFpVRrRWSk7pgfF0UzSiMi8Urmqy2YMtkwSuvA== 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=1695189682; 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=fOvsmkyco5FCBUCRpcCs0OUcIqjRTbz1Wy9frXcI5l8=; b=IU6BgiBmOsFVrkfhHRKOhOmR8qKiaU8C3o97+uFhcA1q7oUnpwn4SPds//fqyJQe51u6uq 2VJXSANGt8i3U7kL146cggiitYIrLOPmP02Ukizh8thTfLYS++riZ33pYlQX4IbTH5wEPq OCopiALSqednIUq8D/DqFdT3j6L4uDyjnP2oiN9B1tzNK1gQFZ6KNDVkDlspNtPvAOnTOt dTaJIZ+ZBfziOkgHgppw83UU8lkEoFqKrwVPEKkwDCyyMS2yMHlngX+4T4lp/c1kMRphzL Bnx3uEDDovJpZTPPRip3WtA/oz/xQFw4C3Lp475USoiPBXQ6M/R23+fInG4sTw== 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 4Rr7FZ4d8QzkR8 for ; Wed, 20 Sep 2023 06:01:22 +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 38K61MPt018019 for ; Wed, 20 Sep 2023 06:01:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38K61Mqs018018 for fs@FreeBSD.org; Wed, 20 Sep 2023 06:01:22 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 273953] panic: vfs_remount_ro: mp is not busied Date: Wed, 20 Sep 2023 06:01:22 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grahamperrin@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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=3D273953 Graham Perrin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Sep 20 16:05:02 2023 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 4RrNf76Pq5z4trNw for ; Wed, 20 Sep 2023 16:05:03 +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 4RrNf74VhTz4P0D for ; Wed, 20 Sep 2023 16:05:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695225903; a=rsa-sha256; cv=none; b=qe3jm4/iyw0m1oHc+lA07+bDOjrCEzs725nYUcpUJX0IP9GCLeVFcYm4XhIWigkxa/lJXI ayljk8CkwmriGZ/NCGOdgn8WoPBk1AMJwUAea3sASCHiqOqeIInnLXrKiKuaEZL1wYDSRf CoKYqGunT4loqQhOzoLEWWNvABvcHBORh9HFiMv6MzQ/Noxn/ncCqyo8o3WIap9UDn3lXQ gDR393yGjjEQxLKGvilzYUK24D41bhpBRGONnBdXQRjzgkZJDJQ7IdcyA9kJoKznRa9AeQ u56C8/QBL3oa7WbMdl41lvGMBTdgK7T8nrbyDBiTcaXtVXGkiO3kQYAuJfV6Nw== 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=1695225903; 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=zei3cUANB36dlS0xezdfFKNFZAWLJ3aQFCJV2SHobhc=; b=fH0mwugYRjD/6nUgxes/zsdtu78/Sahs7ur/IPROqxh/mwhd3Sb+9EJm+56cNkYtnA6goS unt5zQ5tKQJ+QSYZumUOFzO2f4iVPtyQ970vDTmp/FhRi54Qy7B+SEJocJPBe3GEjFWRml KB/4zAW6Gn2ZcOScFUuOJv4MHUGw4ksAaPxB4MJhlqs4rkD2b2BahKUDRB1bBuENiqg8fg yObaVZQO8AVkRPOYVyllE6/3R1fPBx1w/774wrT1KXjx5wPsessTg+y+pqKfsUZDzpok3F Otty3uA4p2L6mMm4thdmR2Y6XCKt66sjH+cw/9rNih+8jhm6X0GSml3A6pDHIA== 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 4RrNf71Ms7z129b for ; Wed, 20 Sep 2023 16:05:03 +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 38KG53kD044094 for ; Wed, 20 Sep 2023 16:05:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38KG53nO044092 for fs@FreeBSD.org; Wed, 20 Sep 2023 16:05:03 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 273942] fusefs(5): read operation changes ctime on FUSE filesystems Date: Wed, 20 Sep 2023 16:05:02 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: chogata@moosefs.com X-Bugzilla-Status: Open 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=3D273942 --- Comment #10 from Agata --- I tested atime change with futimens call from userland (FreeBSD 13.2) and it did not send ctime change (no ctime flag on in setattr, both the setattr af= ter read and the setattr caused by futimens call have 0x10). So I'm back to the starting point: no way to say if setattr is a result of internal atime chan= ge after a read operation or a user-made operation. (I'm leaving on 2 weeks vacation tomorrow, so I won't be able to follow here for a while). --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Sep 20 16:10:02 2023 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 4RrNlv2d3Rz4trdS for ; Wed, 20 Sep 2023 16:10:03 +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 4RrNlv1WR7z4QCt for ; Wed, 20 Sep 2023 16:10:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695226203; a=rsa-sha256; cv=none; b=h+Qs3qEpz29lDn2TVelPV1+yIHewMiGVH4rHss+ffOhTXyMYODHhc+4IZzF5qldEuG49KR WOMaMfxRmWPB/pxwrxDiSz9Lcvm6iYIiFXrP+I7qsFpACP9SucRe0vsrU5vWEmkUFQE8aX Pw3UMNDdu632NWbNyjtBKu0a9SQPH6eS93dBMHJn5SAwEOTXVktHVKe8rg2RADNjGAjbOf lTRDr0VivRixhjcLXYv+Rvx60aGTTA+xdAy7UDyKmUdDNZ5xp3kTthKrn4p2bQE8HhUsj7 EaCY3I2UlRTvZ3Ald2rTP2uNx2mH+5/hHEZExhSbUNk3hrtB5OSXemAL4jFOHA== 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=1695226203; 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=L0+0tEsPtSa+A89Zzztxf76DWIuBoKEbT+dYlf+Yqew=; b=NeVhyhuDy8oDNnBsYj4aildQ9mYgSQVbzCRrd4pnh2wl6uI8hW3NnwOKgHt1Dibrk4WSAz sPyW/e1NzNZwQQrGIE1xIaQnRwgZLCnpCkJ//tpdzMVhQmxD6KqsyUiD4Um2xgHrldGgws nP5wHSPSyg5k03JJfQKmVEQcQh3J8nrGX8m+lXDkQ0MTtls0I/hcXgLjQhoSja/H1ZEvbV ZePwxxz2rdQnmUfN5ssu3ndQm1g/ahXyYwMcpKtiUDJBQKQwr+HeuNobx0ie5/Hm+uhbpk rgSipOMc2rinQSjGHUCaJu9V4f1NSihS0Dk+v8kgc8UlOdZ38l1HM7JE94hukw== 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 4RrNlv0b55z12MJ for ; Wed, 20 Sep 2023 16:10:03 +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 38KGA3S2048257 for ; Wed, 20 Sep 2023 16:10:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38KGA3If048256 for fs@FreeBSD.org; Wed, 20 Sep 2023 16:10:03 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 273942] fusefs(5): read operation changes ctime on FUSE filesystems Date: Wed, 20 Sep 2023 16:10:02 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: Open 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=3D273942 --- Comment #11 from Alan Somers --- (In reply to Agata from comment #10) I'm going to review this today. I think you're probably right; the kernel should sent FATTR_CTIME in a situation like that. But even if it did, would that solve your original problem? A file's ctime would still change after read, if it's mounted with atime on. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Sep 20 17:46:15 2023 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 4RrQtw29Vvz4txjT for ; Wed, 20 Sep 2023 17:46:16 +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 4RrQtw18sjz4gHy for ; Wed, 20 Sep 2023 17:46:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695231976; a=rsa-sha256; cv=none; b=ljl48Kk2tjn0EKRT1WRDq8toEMLL/fqaLCno5RWqwygLwcu/fMtqHKsj9TAylVG9m0S5jR 7KY6j1j3+OL/qX5wadovIbFjBnuNKW0pSFgd4C+UMLAMtoYD22Qh69qhrswvog1VoyOtJo 0B45QkswmhYlWVGUbTyXaexRnXEaBZTQ3NovCeA1HUD1IuUnqRLsWAShtqogVU1e8B6LOS FUvATCk7LRHMenqn1FJH149TNPHK4fX066bJJjfgth0ufIvf1LCp3E8y+VZNNO6ItB0rkF TPZSmuZigtJgZV3J0CTrkbbGAW+oBsItUPRhK1doOnCSiweJYlhEVHWQZsqGTQ== 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=1695231976; 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=X69HbxrgFGGRXNIaWORqs/HTfrvsEmIGywmePn0OjZ8=; b=vXaA8wxXOuZwg6BheG3luR/sDVrttMAzRaV13jddts00WtxGDKeVtPm/0f3b3CK7TUd/CM Y4zXfCgz+U/7R9k5qq018hft+4Ves/nCabP0rhEzv/x7ttu8ffNAjsbGVECN1Fhqmruera XwtwAApJ/vYf6xvG5IfeIEQd0scVpJ3aadjQ8XhhVtwbmtl2D0M2xGBj8ssQYcwygBEAbD g+8H1hkDLcmDHiUsVhUGHDTsUL740mzn6HgfuOuN4DgQiTCFYJic+eEgCgWdQNHbTejD4R eW+FXgKlrSVua0Yk2clyrO2eC7JrslOkT2SXs1hznhWJnDAxQSI8nNrwOmFYLA== 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 4RrQtw07T4z14wc for ; Wed, 20 Sep 2023 17:46:16 +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 38KHkF5T004137 for ; Wed, 20 Sep 2023 17:46:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38KHkF8x004136 for fs@FreeBSD.org; Wed, 20 Sep 2023 17:46:15 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 273942] fusefs(5): read operation changes ctime on FUSE filesystems Date: Wed, 20 Sep 2023 17:46:15 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jfc@mit.edu X-Bugzilla-Status: Open 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=3D273942 --- Comment #12 from John F. Carr --- (In reply to Alan Somers from comment #11) It takes two changes to get this working: 1. The fusefs kernel module adds a ctime update when handling a utimes() ca= ll. 2. The MooseFS fuse server does not set ctime in response to a setattr requ= est that does not explicitly include ctime. A protocol version change might be warranted. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Sep 20 18:19:01 2023 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 4RrRcj6ygwz4v0VN for ; Wed, 20 Sep 2023 18:19:01 +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 4RrRcj51Qgz3Q6J for ; Wed, 20 Sep 2023 18:19:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695233941; a=rsa-sha256; cv=none; b=p1tlaYQ5TenAEjksy5HcO/VlkMGxOzXSNV2odp+R1QKBz51PTI2pDsqu3e7JL9Gxaop/e9 Aifpy/3tlR+oNeTaZb+tDSMLJRqpHLXQZHV04kG7sr5ygmtjNGkw6UusFog/wujfbqFWEM wicsbZJABIa5ZYOo+WGnde/cneUOWsdmcvOH5SeUOXQN/IEZfb5k00kx7SSfJOAYr0FCKe 2UApsEoQVCrykUcSggrAOm4xEx3pgZ6IAhnqCjii1RwgcvO/eL4UhZTnTD0xj5vT/m+zbE gjDswRk2IGtM2tqB4Kyo9daAe/w1hJFq8ayrlYYohz/yhmc5TQR6o2I1oLvV2A== 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=1695233941; 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=RbCqsqxRVVbIfDj9bRa3g/RbQxVCinolV+cEJSqqr6w=; b=ODEU80ZyYxrcBo7bzrdC+kGOyEk7e+4aGRecuV8ILOCdboaJtH7tMwuVqXc3WQwQTXbik3 v7InmGaRLU/LbYAHLeYbDO0AipYLN7+EH8hpzNf+vskMSjDQKRL41+FeWy70FeqNX2xMFW L71Jm03q1rQb+GnfuawkE5iU29p4VZx+cW4xm/tNpXLxYs1fV0pI63xCt+UaS2GhtIIWpE v9Knq+EW/enkEld+UDrQdpuXBA30xODbTyxKO+7vVCQqoUxice69GNEqucD6ToAjIstGPI uxfreCaxezffSkX94kJ22HyGcH1V/WGg3LAKUWNd2pRIFi0MESBQUAssUu5stw== 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 4RrRcj3xhvz15SB for ; Wed, 20 Sep 2023 18:19:01 +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 38KIJ1Qm053904 for ; Wed, 20 Sep 2023 18:19:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38KIJ1m2053903 for fs@FreeBSD.org; Wed, 20 Sep 2023 18:19:01 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 273942] fusefs(5): read operation changes ctime on FUSE filesystems Date: Wed, 20 Sep 2023 18:19:01 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: chogata@moosefs.com X-Bugzilla-Status: Open 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=3D273942 --- Comment #13 from Agata --- Protocol version change in what? In FUSE library? What about the Linux vers= ion? They don't even send the setattr after a read operation... --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Sep 20 18:31:25 2023 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 4RrRv22Gvvz4v1Mj for ; Wed, 20 Sep 2023 18:31:26 +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 4RrRv21Dh1z3SRg for ; Wed, 20 Sep 2023 18:31:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695234686; a=rsa-sha256; cv=none; b=HOF45VT8od+DaZ1uVOodN6nR/Rr80Ca66cObiwxXo0yTcu1ptKAeSQqdzkM2CBpDKJWCFl JtCnRZf3PEOVhka6BvLY3XHSZHCioxDDZPzkMBXND60F4clx8lY79IJHY5l3p9LtnvnPyz N+z2RENc5lE6BYWlrcruwqG9CDR+ZGUtvYk3xYGcWrz3Uwn+vUNthSE2xbm2yDkM1MLuK1 qAWMdgHiH2u6EvLzzhxU7V+NRFEMA2hB7e2tWRJ0i04mRN9tAiFPK+vuqEzdFgLPi1I1LN XfFYqdWL3hSLZSZjeaVzdFoP7u2JM/YzZuug4Mm/iLruD15u1Ci85wXlWfxs/g== 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=1695234686; 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=1GP5Ik0rf8wH7DNfEz1FpAjNgpVssrva56TNUB9WIUM=; b=ghS4lbN5Esee3psJxIAuzAD5n/5AHI4hrRnwlkhovHrD4FnAIceQVxMep09g0dLbng1pJc c/H2oz3kq5UL63Sge+NkE6gwUumqBDUExSP+bCoHWfP8raDRwz6YCSuc6zj8vxY8vWYwja xPhseFYlARYNfKxrTJEg57OgdPezyz2sTCqutn9FWVfPGjZUsG7MEe2SCZDjRTrHt6dL3P VVRTU+t38bwJ4xAXTW+DzqrEf+RC+PZhnWKVVDEtTNtJ8xbfjz3yNocQemGjS+MsKwnL2o oS1l/ZzQBEfbC0NT5fjvVyiWXYW7rdnfyid3NMW3oTlcCWt5SUB0mRVYH20Tgw== 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 4RrRv20BdFz167Q for ; Wed, 20 Sep 2023 18:31:26 +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 38KIVP9M079985 for ; Wed, 20 Sep 2023 18:31:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38KIVPqg079984 for fs@FreeBSD.org; Wed, 20 Sep 2023 18:31:25 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 273942] fusefs(5): read operation changes ctime on FUSE filesystems Date: Wed, 20 Sep 2023 18:31:25 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: Open 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=3D273942 --- Comment #14 from Alan Somers --- In the absence of a written spec, the Linux implementation is the source of truth. I just checked, and it does not send ctime to the fuse daemon: * when changing atime * when changing ctime * when truncating, at least when writeback cache is disabled. Does moosefs use the writeback cache? And which FUSE protocol level does it use? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Sep 20 18:54:49 2023 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 4RrSQ215ZJz4v2VQ for ; Wed, 20 Sep 2023 18:54:50 +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 4RrSQ201vTz3Xgr for ; Wed, 20 Sep 2023 18:54:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695236090; a=rsa-sha256; cv=none; b=TJcR2ntgTvKfSiiBQOTJ/GxRy55s3vbtRwRXJhjUAKwZc49OfIoqmbaK917wlMLk7jr4r7 ziW2Wzo4tH6jbMJocLnCXsCEG/GU2UJ5fv4O21kpsQSDMRpI/1Qi1hMfFxnZv1SCFseafj 9g2ur7J2JAKwrXRyoCbg7VaoIYzr+r2yu5Bp+7dQXwk40e5g8QTKId+LPtmSfshLNb84ZC 9dZS6RiLhbgbzVJSuwyxG7kYThzTUtAFWINWFZXwpEheZ1OOKFJEZUimXWdP8p7rJjglct MpbQnpeWntgRTIcCseL9hZGqR5DAH1a3QjpJauduiV9fWEabU1meGWFs5hiBHA== 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=1695236090; 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=DVgy1TQ8+BIN2KYWCII+aTLJ6DPEQfGayBx4IxtmHFA=; b=mKLQldI8Fc1voOmfHps+tkyGTFW6JI/FHvusV/P0oqy65N3Vb9DKdBMxNnoHadngpJMdDY aUpOMXyptQ5osV9ei694Se2PTRoM8+aJxPNwJptjcYqf/CtupW6sMk4QQQDd+NcsWHX1bD y30rw4pQPksz4sDFOzXWFxu5Ph6bPGYCdg8HnCRUHopCJ7XNolEv06GAIYzE9e5x95Pvhm 7Xki6TF1ij0+pzLmp2VxN7XN8PNRgv4rZshdz+MOY8kq8mEQ3eCLVQZY78A6cdhhcnflJz SoyHj2b6DSuqaVtKX6uIZzFYBGiTpeC7JyST0JBBSugBa/YQYrPmtvQU3Hx1SQ== 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 4RrSQ166j2z16vH for ; Wed, 20 Sep 2023 18:54:49 +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 38KIsn2P013721 for ; Wed, 20 Sep 2023 18:54:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38KIsnwX013720 for fs@FreeBSD.org; Wed, 20 Sep 2023 18:54:49 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 273942] fusefs(5): read operation changes ctime on FUSE filesystems Date: Wed, 20 Sep 2023 18:54:49 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jfc@mit.edu X-Bugzilla-Status: Open 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=3D273942 --- Comment #15 from John F. Carr --- (In reply to Agata from comment #13) I meant the version in fuse_kernel.h. If that is read-only from FreeBSD's point of view, dictated by Linux, the kernel would have to change with no notice. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Sep 20 20:29:58 2023 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 4RrVWq4Qz6z4v7g7 for ; Wed, 20 Sep 2023 20:29:59 +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 4RrVWq3N6sz4JV7 for ; Wed, 20 Sep 2023 20:29:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695241799; a=rsa-sha256; cv=none; b=Tpw9bxfpPhx+9pRYR3ic0NKm0T9ojEpYN2+28cqT2Ip5khpA7Jfv8m1fYgmePw8aUzPdNk 1JgsggpQtLlr37N/fV09V7dDLKdZXTxaEkxkgw3R8FRTOGALMUbuPeZyhwzqFeiNT75zX2 EUHRFdUtAdbh0CPoBXZMvuxYVnfZwFTmI3wceczBgQurLzwPsLI1U+taPZe2RI/jJvKc3/ UUMPAbW7FHikhubbLvcHTz6p/u0INM89Skj0J88ivjSYgystXUgEoi5kG0gU6Uxx4+FVwN vXl8mYnv0nEfM6BWGUCuV3e5bIzpbl0H4K8UjQnQURGKFoEjqcptN6+ofHcg4w== 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=1695241799; 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=cqro3X56C++5+LNMaNmKvd3Uh0yQlNf/fgK2g2PpzWM=; b=XeZX2+5trCj4/WuYmsXJyx+NEpBOkS+f3kpZhqb0KA8nfpwaCbFujg3hpQqorhzD/vdhSA FaYiA97US4ZKettpVrGhQM6LalKfCXnjw3Or2qerrdDFoNu32gJLA4A6zCg9RzXRx3hXI2 qe27dUEC8yO2MnNgldYEIM7fSkSuic9mM+iIKpMX+Nv2trnH8kjyEc0ui18OJychfJTpvu p9l85iwbr9S2mcFUtKS66kMUL+esGlDU7zGlO743NvsYQ/VOYs5a/YKqKVl718hmFx2QMt Zps8ttLNXe705CpwLyayjOOFVPENJtV9vcCzSRgumt2zcrOWsbWVDZdNDSrseA== 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 4RrVWq2THrz1971 for ; Wed, 20 Sep 2023 20:29:59 +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 38KKTxeS046703 for ; Wed, 20 Sep 2023 20:29:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38KKTx0S046702 for fs@FreeBSD.org; Wed, 20 Sep 2023 20:29:59 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 273942] fusefs(5): read operation changes ctime on FUSE filesystems Date: Wed, 20 Sep 2023 20:29:58 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: Open 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=3D273942 --- Comment #16 from Alan Somers --- (In reply to John F. Carr from comment #15) Yes, we are strictly consumers of fuse_kernel.h. We don't deviate from Lin= ux's version. We can't add our own features there. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Sep 20 20:47:29 2023 X-Original-To: freebsd-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 4RrVwH6H6Sz4v8qm for ; Wed, 20 Sep 2023 20:47:43 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RrVwG04LPz4LpW for ; Wed, 20 Sep 2023 20:47:42 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=GGoh6Cep; spf=pass (mx1.freebsd.org: domain of rick.macklem@gmail.com designates 2607:f8b0:4864:20::1036 as permitted sender) smtp.mailfrom=rick.macklem@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pj1-x1036.google.com with SMTP id 98e67ed59e1d1-276b9d5ce1dso111674a91.3 for ; Wed, 20 Sep 2023 13:47:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695242861; x=1695847661; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=PqKJ+fqQWYJJW17HCvsxvp9ekHv49QPOVAfjtFT9WvU=; b=GGoh6Cep+BBbrfc1HkjYh9BtZHnGatW2fdOTwxAql3NGeMePlwznMO8R7ntN11QW4Y n7SUfeklWNuNtgqoCTgsjBCYJozT23p/4YR1rGDkctos+WZF05H/ImqQ2G4Afe2AdMxq B9/UW3OPA8zEa5Ac9NTQkKciy2U/rfibCmDAkeDl77AXSt0QmJC/k/Mo///G/rIq+S2P o2AhdBOVuqdubH69B4rNwxeFzzoVQkkiLVNzTxvMqgFqrV38eOAcw/2dA66sDQ1jg51p QCS8Rlv2yQKdsVWh3Q34AVUEzgP6OeUo/FgNWBNNZCNYrnZ8gtWSqs1KcfOzCIuhYqMn fS7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695242861; x=1695847661; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=PqKJ+fqQWYJJW17HCvsxvp9ekHv49QPOVAfjtFT9WvU=; b=N6MoIiiHv/xOkeDyXKwGGIre91OLIpgMy1IL7ExiHae8LUl/p09QgAO+0vnjH++1KQ h40dSLvoy7UItm0YnMCsSqu09UpdLWL5d6v9wswJcH/hwDvnQePOWGYrA0Yx9ZQT3vfA bfj+tVv5xa3EqVReJetRhZGJ/LATR/9RZUQO93czn6T5hUfrbTtf4wdnbkpp4R4AYksX Bm+uTj4/SXwkrtaT52Hh5nBkN4eVz8+At0ysez2XL53Se/QJrGDXM9whB95mumR+Yqz3 Z63jmTPtsbB96eJldO9ZaCJdaZnr0RHIijc3a32x1MONU+UMQTg2OZPuYqexpRc8DbSp ZMkg== X-Gm-Message-State: AOJu0YzISjJxQU9QIqywg/GFA7LlEMya4grxFhic9R3eLBjGLGlU9iJR 4k4Nc7lwd5FRqHq1uYMjhY8ktjc3l2vaKwVp1/e9RUM= X-Google-Smtp-Source: AGHT+IGEV/4EFG9BTdMbIa1PKwBRtGJuTVuuhH9zNt8HReg78YFKtq2Df/SF0lMe4MBALA45A8cTQgGFbAT92FkCwvI= X-Received: by 2002:a17:90b:f12:b0:26f:b733:6887 with SMTP id br18-20020a17090b0f1200b0026fb7336887mr3485471pjb.27.1695242860736; Wed, 20 Sep 2023 13:47:40 -0700 (PDT) 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 From: Rick Macklem Date: Wed, 20 Sep 2023 13:47:29 -0700 Message-ID: Subject: RFC: Should copy_file_range(2) work for shared memory objects? To: Freebsd fs Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: / X-Spamd-Result: default: False [-0.37 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_SPAM_MEDIUM(1.00)[0.997]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_LONG(-0.36)[-0.363]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; BLOCKLISTDE_FAIL(0.00)[2607:f8b0:4864:20::1036:server fail]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; TAGGED_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1036:from]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org] X-Rspamd-Queue-Id: 4RrVwG04LPz4LpW Right now (as noted by PR#273962) copy_file_range(2) fails for shared memory objects because there is no vnode (f_vnode == NULL) for them and the code uses vnodes (including a file system specific VOP_COPY_FILE_RANGE(9)). Do you think copy_file_range(2) should work for shared memory objects? This would require specific handling in kern_copy_file_range() to work. I do not think the patch would be a lot of work, but I am not familiar with the f_ops and shared memory code. rick From nobody Wed Sep 20 22:07:45 2023 X-Original-To: freebsd-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 4RrXhw56vkz4vFKx for ; Wed, 20 Sep 2023 22:08:00 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-vs1-f45.google.com (mail-vs1-f45.google.com [209.85.217.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RrXhw0DZwz4VDc for ; Wed, 20 Sep 2023 22:08:00 +0000 (UTC) (envelope-from asomers@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.217.45 as permitted sender) smtp.mailfrom=asomers@gmail.com; dmarc=none Received: by mail-vs1-f45.google.com with SMTP id ada2fe7eead31-4529d1238a9so180686137.3 for ; Wed, 20 Sep 2023 15:08:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695247677; x=1695852477; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uCLWHmV+gOeM1eg38m9ZuYEDsnxaCT5WcJs5MUK9/mo=; b=bg9MdV9Cb55V06isrTvjdikOUD7Gcnz4eTFVGLDnoDjofUNKAUtfVE3vk6M1fhsUMm 9rSsZ9bjjVfC4IdGz3f0zdkDgkcpHFQ8mk8AD2d/SCegIltiai2/fJVOPJ7Xtyh5Lzax iKNTaNFw+gtolPFzTQvX6z546h6otT3260s57+Zei9nqaXUvMLkg+IEd439SsB9kFfnN oa6UEZWS5s5Xdcq3ZGqHBMODHML1Dk5b8NTT/5cyZXNaIRWWezEn5qF5rEpQkMEyS7SA vvkfk6ZPh6BwmBW22QcqhYTBUHsieRD/+5sfIF+GRRyTMXWqJon8Pcgy7t1t09eX/pv/ pS6g== X-Gm-Message-State: AOJu0YxmeApMitPNoBx80kwrZvXa2B/YPUeFDyNYZAKfMY1Sn933KGxm ZA63AjFxBXSlaNCLRlPvcWIN0oMx+KiaKfZfMj4= X-Google-Smtp-Source: AGHT+IEOhBEzYFUHRqjB2D/vnX04wH9sODQ2GLjYTPCDEScRU6xOPc0u22teZewr65RZy5RlwNp2pc9x943+3ntrwwQ= X-Received: by 2002:a05:6102:3c7:b0:452:6d7b:a9e with SMTP id n7-20020a05610203c700b004526d7b0a9emr3618498vsq.19.1695247677316; Wed, 20 Sep 2023 15:07:57 -0700 (PDT) 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 References: In-Reply-To: From: Alan Somers Date: Wed, 20 Sep 2023 15:07:45 -0700 Message-ID: Subject: Re: RFC: Should copy_file_range(2) work for shared memory objects? To: Rick Macklem Cc: Freebsd fs Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Spamd-Result: default: False [-0.90 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-0.96)[-0.962]; NEURAL_HAM_SHORT(-0.51)[-0.515]; NEURAL_HAM_MEDIUM(-0.43)[-0.427]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_NONE(0.00)[209.85.217.45:from]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[freebsd.org]; TAGGED_RCPT(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEFALL_USER(0.00)[asomers]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; ARC_NA(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; FREEMAIL_TO(0.00)[gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; R_DKIM_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.217.45:from] X-Rspamd-Queue-Id: 4RrXhw0DZwz4VDc On Wed, Sep 20, 2023 at 3:05=E2=80=AFPM Rick Macklem wrote: > > Right now (as noted by PR#273962) copy_file_range(2) > fails for shared memory objects because there is no > vnode (f_vnode =3D=3D NULL) for them and the code uses > vnodes (including a file system specific VOP_COPY_FILE_RANGE(9)). > > Do you think copy_file_range(2) should work for shared memory objects? > > This would require specific handling in kern_copy_file_range() > to work. I do not think the patch would be a lot of work, but > I am not familiar with the f_ops and shared memory code. > > rick This sounds annoying to fix. But I think we ought to. Right now programmers can assume that copy_file_range will work for every type of file. We don't document an EOPNOTSUP error code or anything like that. Does it work on sockets, too? From nobody Wed Sep 20 23:09:32 2023 X-Original-To: freebsd-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 4RrZ4952xdz4vJHy for ; Wed, 20 Sep 2023 23:09:45 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RrZ490FB6z4ZSj; Wed, 20 Sep 2023 23:09:45 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-573e67cc6eeso213703a12.2; Wed, 20 Sep 2023 16:09:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695251383; x=1695856183; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FQgIHE/BazvVrD593xmbwHiUmvGF5COmSUirKDGcsFw=; b=YQHFaQgDyvvYl8LvdCQrNrZuLUOPRkv4dwciSqXXcEYFOSwS28CTGLHuSFV/n/bMvZ 2bDe+hQQl+lHkBirYGkZDx7XmZxp6X/hgbjtTofoXAIXe02C8OceOletVji8xV1Eb8JZ wLjdGwu3uy89WLqoaQOjeufYh8zsbUkP8V7d3fYXmIp/QwyvplT5da7dfXqHITePlHcH c6SHhwLQCCviyaCKfyDEvyH+/Hwq1XWCSb6Kp9f5+pHXW+UBvVFaCzLPJaVAnOOuxk9O Ue4UcGgNOqYjS14g+0Nxl2PRjvk+zlo92NvfwIJy4Y0TGe/z5EaEIb/PaaEgef4+sCxL i7hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695251383; x=1695856183; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FQgIHE/BazvVrD593xmbwHiUmvGF5COmSUirKDGcsFw=; b=IKQexeoghh6Dtpg0GSRQ+PkhQT2Ly0tYkaLomTH3fUGP91rWILz8X3BPSdD6lD52rK 3TEzyedrPCeii/nP5RDf0c4yuqvc1U4TclEAgIuJqGDKRKcntgip2l60nmJ8THbHlhyp 9d+/hmcEkGPyWy2uU7hZRgoCqxQMw7WPfnXMhc2fx0h2tNFCfg5hTbFFloGhu5Bn+cTv l9rPSQVZabj9q0s+FLJwZevcjsBrgOpSfe2CtheC8ogs7p/GBMGA/3Wme7lVyjo+SY8E EBXrxS3n+EDbTsHyq4jvIFFmdIQllqn/Iv52MoMi9aOMZ1UYlFslEnXM1/902hP/6UbG lqHw== X-Gm-Message-State: AOJu0YzrLoX9U1WUgIdCSt3lymXL9rwRaZ/J7coR5cbG27UDq5bCEGip xwujaxAYuQX9hGYo4INKW5Cn3M59y5EkvsKlAlJdPn4= X-Google-Smtp-Source: AGHT+IFQcTeIRKfLzJflj8rmdtxyexw20dDYUeWfyuNu/2C1Wz6poYi0dEW9f94Y/engv0fGO5fdY+Hc8ecvTdfPKyk= X-Received: by 2002:a05:6a20:5494:b0:13d:8876:4c97 with SMTP id i20-20020a056a20549400b0013d88764c97mr4325670pzk.16.1695251383334; Wed, 20 Sep 2023 16:09:43 -0700 (PDT) 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 References: In-Reply-To: From: Rick Macklem Date: Wed, 20 Sep 2023 16:09:32 -0700 Message-ID: Subject: Re: RFC: Should copy_file_range(2) work for shared memory objects? To: Alan Somers Cc: Freebsd fs Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[] X-Rspamd-Queue-Id: 4RrZ490FB6z4ZSj On Wed, Sep 20, 2023 at 3:07=E2=80=AFPM Alan Somers w= rote: > > On Wed, Sep 20, 2023 at 3:05=E2=80=AFPM Rick Macklem wrote: > > > > Right now (as noted by PR#273962) copy_file_range(2) > > fails for shared memory objects because there is no > > vnode (f_vnode =3D=3D NULL) for them and the code uses > > vnodes (including a file system specific VOP_COPY_FILE_RANGE(9)). > > > > Do you think copy_file_range(2) should work for shared memory objects? > > > > This would require specific handling in kern_copy_file_range() > > to work. I do not think the patch would be a lot of work, but > > I am not familiar with the f_ops and shared memory code. > > > > rick > > This sounds annoying to fix. But I think we ought to. Right now > programmers can assume that copy_file_range will work for every type > of file. We don't document an EOPNOTSUP error code or anything like > that. Does it work on sockets, too? No. I guess I have a different definition of "file" (unless you meant "filedesc"?). I cannot see how a "range is defined for sockets or named pipes or...". It currently checks for a f_vnode, which probably is not enough. (I haven't figured out what path_fileops are, so I do not know if they work?) I can see how it can be implemented for shared memory objects. However, this is going to take a fair amount of work, since they do not use vnodes. I think it goes something like this: - Create a new fileops (f_copy_file_range), since it needs to use the correct range lock variables (in shmfd instead of vnode ones). - Move most of kern_copy_file_range() into vnodeop_copy_file_range() and call f_copy_file_range() from kern_copy_file_range(). - Create a shm_copy_file_range() that does the correct range locking and then copies via uiomove(). This would be a KABI change, so I do not think it could be MFC'd. I think there is a need for copy_file_range(2) to return EOPNOTSUP for cases it will never handle. (I need to test AF_LOCAL sockets, since I think they have vnodes?) rick From nobody Wed Sep 20 23:21:46 2023 X-Original-To: freebsd-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 4RrZLJ5xz6z4vKRL for ; Wed, 20 Sep 2023 23:22:00 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RrZLJ1SkQz4c9l; Wed, 20 Sep 2023 23:22:00 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=GRkbv0Bl; spf=pass (mx1.freebsd.org: domain of rick.macklem@gmail.com designates 2607:f8b0:4864:20::42d as permitted sender) smtp.mailfrom=rick.macklem@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-68fb98745c1so260108b3a.1; Wed, 20 Sep 2023 16:22:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695252118; x=1695856918; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=cUGd+OSV4/eowR4qXbHGJ1UFZTYmf3A0kdoyNY3U2+M=; b=GRkbv0BliZl4NVvwTukgzonkZTaVfMwwJRfIXa3yW1mrQzdM9V23BV2/uF1Kxs6t0/ nvHWacQ9h2Y7BVjWuDh9HsObOVlaVuPkb5s7qFEMiw1Y49pGR786WbDQRWc6WJ84YqGV o26xlzc7xyuNPltb/VKvXahvKXqbPnH/Tm6hhpts7neBSBRTgsV7BdeMrkdRsxWNgbpL rQGADiGJ14bXiok3rcpcivgwf/5/fX49PfhxTaEIJuNuLLR1CX55etuHp2u1yVwslsXy f5d/Ug0VDu4/ERiG97+444r8Xsi14/xnUrIX2tYmjUoKATfcSVOgUvoc5AfhPpw6xF3M p4Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695252118; x=1695856918; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cUGd+OSV4/eowR4qXbHGJ1UFZTYmf3A0kdoyNY3U2+M=; b=sdCaL13BOjKXo9SeMd6iYIBhWA6iT7gNL6rt1dvCqk8DNrLTqxmWEuI2ZsoWym0fSX 9N9BTeE1lGGEWte5tVRCkN7gTgMO7KBaI8VmKNxv3HIYRw2gL5pKZXGeTAZfSYX4X4OX paAfoyTXU2MM0Gevp78oP8VnF1QONhRJm3bewN8VF7jnwLe/XY3zliT9byU831P+y3+r UXWdqF1KNfEgFtmVW8w/LvgHzVzX3VEKc5QRP/qQQcr3nVoogEX2M4MT4CJOW5mgKqk8 bdYRtOQIRgIVPUFAMyvKjKYJ+qGS0P62IlxcgiAQ48buGKeL6WmOfgJi/z0K7WQeKNFS 8InA== X-Gm-Message-State: AOJu0Yzhs/9IWd7xhCoFOEKFDdpR1ZxfUdIxLGrq8hWVmkSjRjH3kHov BQBBSvQq1eTpmZ6AXhYkaKdrsxt8pf91w/TRQbQ2n3I= X-Google-Smtp-Source: AGHT+IFtmcWrcVZcOeq4P3a6Oooba3i0UCYD5/hAPz+P+VFthRmmEx14I22xKXPPibXjKjp9WCUMKyYHxwE8+hkeUgA= X-Received: by 2002:a05:6a20:160c:b0:136:ea0e:d23 with SMTP id l12-20020a056a20160c00b00136ea0e0d23mr4974894pzj.11.1695252117716; Wed, 20 Sep 2023 16:21:57 -0700 (PDT) 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 References: In-Reply-To: From: Rick Macklem Date: Wed, 20 Sep 2023 16:21:46 -0700 Message-ID: Subject: Re: RFC: Should copy_file_range(2) work for shared memory objects? To: Alan Somers Cc: Freebsd fs Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: - X-Spamd-Result: default: False [-1.98 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-0.996]; NEURAL_HAM_MEDIUM(-0.99)[-0.993]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(0.01)[0.010]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TAGGED_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::42d:from]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org] X-Rspamd-Queue-Id: 4RrZLJ1SkQz4c9l On Wed, Sep 20, 2023 at 4:09=E2=80=AFPM Rick Macklem wrote: > > On Wed, Sep 20, 2023 at 3:07=E2=80=AFPM Alan Somers = wrote: > > > > On Wed, Sep 20, 2023 at 3:05=E2=80=AFPM Rick Macklem wrote: > > > > > > Right now (as noted by PR#273962) copy_file_range(2) > > > fails for shared memory objects because there is no > > > vnode (f_vnode =3D=3D NULL) for them and the code uses > > > vnodes (including a file system specific VOP_COPY_FILE_RANGE(9)). > > > > > > Do you think copy_file_range(2) should work for shared memory objects= ? > > > > > > This would require specific handling in kern_copy_file_range() > > > to work. I do not think the patch would be a lot of work, but > > > I am not familiar with the f_ops and shared memory code. > > > > > > rick > > > > This sounds annoying to fix. But I think we ought to. Right now > > programmers can assume that copy_file_range will work for every type > > of file. We don't document an EOPNOTSUP error code or anything like > > that. Does it work on sockets, too? > No. I guess I have a different definition of "file" (unless you meant > "filedesc"?). I cannot see how a "range is defined for sockets > or named pipes or...". It currently checks for a f_vnode, which > probably is not enough. (I haven't figured out what path_fileops > are, so I do not know if they work?) > > I can see how it can be implemented for shared memory objects. > However, this is going to take a fair amount of work, since they > do not use vnodes. > I think it goes something like this: > - Create a new fileops (f_copy_file_range), since it needs to use > the correct range lock variables (in shmfd instead of vnode ones). > - Move most of kern_copy_file_range() into vnodeop_copy_file_range() > and call f_copy_file_range() from kern_copy_file_range(). > - Create a shm_copy_file_range() that does the correct range locking > and then copies via uiomove(). > This would be a KABI change, so I do not think it could be MFC'd. > > I think there is a need for copy_file_range(2) to return EOPNOTSUP > for cases it will never handle. (I need to test AF_LOCAL sockets, > since I think they have vnodes?) copy_file_range(2) does currently return EOPNOTSUPP for unix domain (AF_LOCAL) sockets. The man page needs to be fixed, whether or not support for shared memory objects is added. rick > > rick From nobody Wed Sep 20 23:47:44 2023 X-Original-To: freebsd-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 4RrZwF2XKYz4vLZm for ; Wed, 20 Sep 2023 23:47:57 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RrZwD2s05z4f42; Wed, 20 Sep 2023 23:47:56 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=IREpzjnW; spf=pass (mx1.freebsd.org: domain of rick.macklem@gmail.com designates 2607:f8b0:4864:20::531 as permitted sender) smtp.mailfrom=rick.macklem@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-578d0d94986so222335a12.2; Wed, 20 Sep 2023 16:47:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695253675; x=1695858475; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=lw7dBAB9mwhXRY3x0LYwT6DALYnP/V3AyQBUNPVFCiE=; b=IREpzjnWUHX3dmrhqGV7GbL6tknQXcbzvpm5t/wJGassY7apoBrwbeZwF+8Z+r2P3o N6BRj/J+8C+D5LY8Cve/HqlP2loG0RRfgyXfnu1vKKfE+bp3bn6TXhdwJ4ddcwymIxXQ eX+Z6+E2PMmLn/UkCmBYyLngpeiAM3GKbxxQmm43h0I8dsL4ij2xsiPFRHqC4C1cMUBJ wmjNia7N0/t9W28rJNz8spagtx1CpJjax1ev7LSxChaVdxb0XpGZkYo1qA3wwx4rwIUA RZhlWLFs2vytaARnAkxM0zve/SRxw70L5feWAfoqXlN0x9CvYarqbRqrHoaStoEJk4T0 eyjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695253675; x=1695858475; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lw7dBAB9mwhXRY3x0LYwT6DALYnP/V3AyQBUNPVFCiE=; b=GmJKaVg4eg08xOVvO4vO+692PliaXcSt6nC3m4Zs6MQFH8wbrIyRUWyYChw0nfxdOl npQuwSGIKVCYA74IGm1/h6DhYZsojdcJxtTjFwSvRgt7vvM/sormL5AuDLF6jwwShzPs yMW0w0qd827jsF7ts0R12lTRwl9VApaiyJ+QXUtGXhACk9Xng3loJRKownIsy1oKfCLH ET7FFqlmcAMxhn7DfCuBXc41FGdR6/DNZlb8GhKQzy+qJBBpwJAWmdDfH5iubsAdXWlS MxCZ936LQeQStnag9pqXXuDg7T0XelChZv2YV8iU6S1k/McZXNBjkibZ/HwKKS6abAmb 0Eow== X-Gm-Message-State: AOJu0YxIbDeLROOouUJ5/nQbvO5EVVUTtmETeP7CJlRodt7krSGw2pWO c28UjE14DVc18EdHbrpw3M5iHhCazz/5rJQexKaVaLQ= X-Google-Smtp-Source: AGHT+IEvmRwR2rKp4Ng2IbgYqGr9lJ5m7HLkmbU8p/rRdYMqo3/VFqG5aNyFHt3nhC7G78aLdTDlmlXJuICWWkK3ZhU= X-Received: by 2002:a05:6a20:4417:b0:14e:315b:d9c with SMTP id ce23-20020a056a20441700b0014e315b0d9cmr5066346pzb.22.1695253675229; Wed, 20 Sep 2023 16:47:55 -0700 (PDT) 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 References: In-Reply-To: From: Rick Macklem Date: Wed, 20 Sep 2023 16:47:44 -0700 Message-ID: Subject: Re: RFC: Should copy_file_range(2) work for shared memory objects? To: Alan Somers Cc: Freebsd fs Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.98 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-0.996]; NEURAL_HAM_MEDIUM(-0.99)[-0.993]; NEURAL_HAM_SHORT(-0.99)[-0.990]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_FROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::531:from]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org] X-Rspamd-Queue-Id: 4RrZwD2s05z4f42 On Wed, Sep 20, 2023 at 4:21=E2=80=AFPM Rick Macklem wrote: > > On Wed, Sep 20, 2023 at 4:09=E2=80=AFPM Rick Macklem wrote: > > > > On Wed, Sep 20, 2023 at 3:07=E2=80=AFPM Alan Somers wrote: > > > > > > On Wed, Sep 20, 2023 at 3:05=E2=80=AFPM Rick Macklem wrote: > > > > > > > > Right now (as noted by PR#273962) copy_file_range(2) > > > > fails for shared memory objects because there is no > > > > vnode (f_vnode =3D=3D NULL) for them and the code uses > > > > vnodes (including a file system specific VOP_COPY_FILE_RANGE(9)). > > > > > > > > Do you think copy_file_range(2) should work for shared memory objec= ts? > > > > > > > > This would require specific handling in kern_copy_file_range() > > > > to work. I do not think the patch would be a lot of work, but > > > > I am not familiar with the f_ops and shared memory code. > > > > > > > > rick > > > > > > This sounds annoying to fix. But I think we ought to. Right now > > > programmers can assume that copy_file_range will work for every type > > > of file. We don't document an EOPNOTSUP error code or anything like > > > that. Does it work on sockets, too? > > No. I guess I have a different definition of "file" (unless you meant > > "filedesc"?). I cannot see how a "range is defined for sockets > > or named pipes or...". It currently checks for a f_vnode, which > > probably is not enough. (I haven't figured out what path_fileops > > are, so I do not know if they work?) > > > > I can see how it can be implemented for shared memory objects. > > However, this is going to take a fair amount of work, since they > > do not use vnodes. > > I think it goes something like this: > > - Create a new fileops (f_copy_file_range), since it needs to use > > the correct range lock variables (in shmfd instead of vnode ones). > > - Move most of kern_copy_file_range() into vnodeop_copy_file_range() > > and call f_copy_file_range() from kern_copy_file_range(). > > - Create a shm_copy_file_range() that does the correct range locking > > and then copies via uiomove(). > > This would be a KABI change, so I do not think it could be MFC'd. > > > > I think there is a need for copy_file_range(2) to return EOPNOTSUP > > for cases it will never handle. (I need to test AF_LOCAL sockets, > > since I think they have vnodes?) > copy_file_range(2) does currently return EOPNOTSUPP for unix > domain (AF_LOCAL) sockets. The man page needs to be fixed, > whether or not support for shared memory objects is added. > Oops, my mistake. It was the open(2) that failed with EOPNOTSUPP, not copy_file_range(2). (I have a simple test program that open(2)s file names and then uses copy_file_range(2) on the descriptors. Btw, an open(2) with O_PATH works, but no data is copied. Not sure if that should be considered correct behaviour? rick > rick > > > > > rick From nobody Wed Sep 20 23:52:20 2023 X-Original-To: freebsd-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 4Rrb1Z1VBhz4vLhb for ; Wed, 20 Sep 2023 23:52:34 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-vk1-f170.google.com (mail-vk1-f170.google.com [209.85.221.170]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rrb1Y3sCyz4g9G; Wed, 20 Sep 2023 23:52:33 +0000 (UTC) (envelope-from asomers@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.221.170 as permitted sender) smtp.mailfrom=asomers@gmail.com; dmarc=none Received: by mail-vk1-f170.google.com with SMTP id 71dfb90a1353d-493639d616eso173369e0c.0; Wed, 20 Sep 2023 16:52:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695253952; x=1695858752; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Njwgl+mrQhZRCCVM6ZzZVQpfmkCF3oVQA7HDoTBF+Pg=; b=uyJzgqcl21Vd7x0+/X22AZgw5o8EvjFb9sgyIAXAuARrGAcNvbO15j1zNARtZ+nsrZ PAr53LsIkqd3zlXk4wms37+dF0k++3dSAuR0LJXX1LDNzpItu6l8bm28VDrl6B0p89h8 cDYW2dbZxIkEHO2etqWWWckYzNBt5tKMpzT4bNXOGF7vupgJrg57TAKt/GbirxNmrGW+ mXH1qMaR5SH+tYOTZw/K/VOQMEAfzmEDQMxuzP10+Juf55pnMXt6Z/6PnBI5EkmqNUqH kYEDkGLqT4FSJ/JrKNlfu6bqQiS/CdS1XHT+n7HwS13rEivI5iOL9UO0ma5Nt3atKiFa BXKw== X-Gm-Message-State: AOJu0YwMrKRVGs2d3DML/7vBW5McY3V+OPQJMldj6aGI5y1n3lZgPo1y ykeMKm9YcxMJ2Sji4zNJKUgNZbEuRCT/c0JM6zok6HIZ X-Google-Smtp-Source: AGHT+IEQi5kImnKrFLVIq7uiZPA87T+ah/wX/oVJpxh6cYPV5RaAk9mSxgV3LrH9k2EnwXzIqcQIFPHSPvMXrBzrWeY= X-Received: by 2002:a1f:6243:0:b0:486:de54:b11 with SMTP id w64-20020a1f6243000000b00486de540b11mr3355053vkb.16.1695253951981; Wed, 20 Sep 2023 16:52:31 -0700 (PDT) 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 References: In-Reply-To: From: Alan Somers Date: Wed, 20 Sep 2023 16:52:20 -0700 Message-ID: Subject: Re: RFC: Should copy_file_range(2) work for shared memory objects? To: Rick Macklem Cc: Alan Somers , Freebsd fs Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: + X-Spamd-Result: default: False [1.14 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_SPAM_SHORT(0.68)[0.683]; NEURAL_SPAM_MEDIUM(0.46)[0.457]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_THREE(0.00)[3]; RCVD_IN_DNSWL_NONE(0.00)[209.85.221.170:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TAGGED_RCPT(0.00)[]; DMARC_NA(0.00)[freebsd.org]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[asomers]; ARC_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.221.170:from] X-Rspamd-Queue-Id: 4Rrb1Y3sCyz4g9G On Wed, Sep 20, 2023 at 4:47=E2=80=AFPM Rick Macklem wrote: > > On Wed, Sep 20, 2023 at 4:21=E2=80=AFPM Rick Macklem wrote: > > > > On Wed, Sep 20, 2023 at 4:09=E2=80=AFPM Rick Macklem wrote: > > > > > > On Wed, Sep 20, 2023 at 3:07=E2=80=AFPM Alan Somers wrote: > > > > > > > > On Wed, Sep 20, 2023 at 3:05=E2=80=AFPM Rick Macklem wrote: > > > > > > > > > > Right now (as noted by PR#273962) copy_file_range(2) > > > > > fails for shared memory objects because there is no > > > > > vnode (f_vnode =3D=3D NULL) for them and the code uses > > > > > vnodes (including a file system specific VOP_COPY_FILE_RANGE(9)). > > > > > > > > > > Do you think copy_file_range(2) should work for shared memory obj= ects? > > > > > > > > > > This would require specific handling in kern_copy_file_range() > > > > > to work. I do not think the patch would be a lot of work, but > > > > > I am not familiar with the f_ops and shared memory code. > > > > > > > > > > rick > > > > > > > > This sounds annoying to fix. But I think we ought to. Right now > > > > programmers can assume that copy_file_range will work for every typ= e > > > > of file. We don't document an EOPNOTSUP error code or anything lik= e > > > > that. Does it work on sockets, too? > > > No. I guess I have a different definition of "file" (unless you meant > > > "filedesc"?). I cannot see how a "range is defined for sockets > > > or named pipes or...". It currently checks for a f_vnode, which > > > probably is not enough. (I haven't figured out what path_fileops > > > are, so I do not know if they work?) > > > > > > I can see how it can be implemented for shared memory objects. > > > However, this is going to take a fair amount of work, since they > > > do not use vnodes. > > > I think it goes something like this: > > > - Create a new fileops (f_copy_file_range), since it needs to use > > > the correct range lock variables (in shmfd instead of vnode ones). > > > - Move most of kern_copy_file_range() into vnodeop_copy_file_range() > > > and call f_copy_file_range() from kern_copy_file_range(). > > > - Create a shm_copy_file_range() that does the correct range locking > > > and then copies via uiomove(). > > > This would be a KABI change, so I do not think it could be MFC'd. > > > > > > I think there is a need for copy_file_range(2) to return EOPNOTSUP > > > for cases it will never handle. (I need to test AF_LOCAL sockets, > > > since I think they have vnodes?) > > copy_file_range(2) does currently return EOPNOTSUPP for unix > > domain (AF_LOCAL) sockets. The man page needs to be fixed, > > whether or not support for shared memory objects is added. > > > Oops, my mistake. It was the open(2) that failed with EOPNOTSUPP, > not copy_file_range(2). (I have a simple test program that open(2)s > file names and then uses copy_file_range(2) on the descriptors. > Btw, an open(2) with O_PATH works, but no data is copied. > Not sure if that should be considered correct behaviour? Do you mean that copy_file_range returns 0 for AF_LOCAL sockets? That sounds suspicious. 0 could be interpreted as EoF. Could you please share your test program? From nobody Wed Sep 20 23:54:01 2023 X-Original-To: freebsd-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 4Rrb3P4Z9Yz4vLfR for ; Wed, 20 Sep 2023 23:54:09 +0000 (UTC) (envelope-from jfc@mit.edu) Received: from outgoing-exchange-3.mit.edu (outgoing-exchange-3.mit.edu [18.9.28.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.outgoing-exchange.mit.edu", Issuer "InCommon RSA Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rrb3N1qYcz4gVq for ; Wed, 20 Sep 2023 23:54:08 +0000 (UTC) (envelope-from jfc@mit.edu) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mit.edu header.s=outgoing header.b=m9Glx1Kf; spf=pass (mx1.freebsd.org: domain of jfc@mit.edu designates 18.9.28.13 as permitted sender) smtp.mailfrom=jfc@mit.edu; dmarc=pass (policy=none) header.from=mit.edu Received: from oc11exedge2.exchange.mit.edu (OC11EXEDGE2.EXCHANGE.MIT.EDU [18.9.3.18]) by outgoing-exchange-3.mit.edu (8.14.7/8.12.4) with ESMTP id 38KNs4aa005880; Wed, 20 Sep 2023 19:54:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1695254045; bh=IVJt3E3KfWKux1bpkwj/vVmMEweHyo3K0XsGdWObi5E=; h=From:Subject:Date:Message-ID:Content-Type:MIME-Version; b=m9Glx1KfOryE0T8BVT6MVxjC1NJ+DTV8wFWlKWnCUmKzKDlMhnMZWworNQrTyv/Xk yhFRnwCA84CSxEDY3bgzUUShLqy2ThOA3TJV8pv1Z4a6CScmqXEXuD0+QJrNw3ps9f M2+irpNTxXm5MKMpYKU+GZBPWhozYPnSL19kJAVJFxUUe2LQUFRE8OIF53RM/Bp9cE nzY5hnm46/mfHZdP3ogrHLJIBa8vj72YKhEkyUFdTXywBF2lLeQMRO4Y01+b5eRjto lnonyMLvLww2saPvX0dG7EGyO5S0Oo5P6L3svXNmj+ZEL43lZGtc22iwMifbWy6mNs QiXF3aY4VxkFg== Received: from oc11expo11.exchange.mit.edu (18.9.4.16) by oc11exedge2.exchange.mit.edu (18.9.3.18) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Wed, 20 Sep 2023 19:53:55 -0400 Received: from oc11exhyb4.exchange.mit.edu (18.9.1.100) by oc11expo11.exchange.mit.edu (18.9.4.16) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 20 Sep 2023 19:54:03 -0400 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.46) by oc11exhyb4.exchange.mit.edu (18.9.1.100) with Microsoft SMTP Server (TLS) id 15.0.1497.48 via Frontend Transport; Wed, 20 Sep 2023 19:54:03 -0400 Received: from SA3PR01MB8450.prod.exchangelabs.com (2603:10b6:806:382::17) by DS0PR01MB8004.prod.exchangelabs.com (2603:10b6:8:145::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.28; Wed, 20 Sep 2023 23:54:02 +0000 Received: from SA3PR01MB8450.prod.exchangelabs.com ([fe80::ee32:19a8:b83e:efbf]) by SA3PR01MB8450.prod.exchangelabs.com ([fe80::ee32:19a8:b83e:efbf%7]) with mapi id 15.20.6813.018; Wed, 20 Sep 2023 23:54:01 +0000 From: "John F Carr" To: Rick Macklem CC: Freebsd fs Subject: Re: RFC: Should copy_file_range(2) work for shared memory objects? Thread-Topic: RFC: Should copy_file_range(2) work for shared memory objects? Thread-Index: AQHZ7AO5tx62EIf6Uki/4rnO3/jzpbAkY2AA Date: Wed, 20 Sep 2023 23:54:01 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA3PR01MB8450:EE_|DS0PR01MB8004:EE_ x-ms-office365-filtering-correlation-id: 9a6dfa8e-f79d-497e-e57d-08dbba34dd27 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LokNj+R+DhhaEgPGz2IsMdMjO+cSaMd/5UhF5VMjfJeXuDI4rY+56RbZX3qiS/m+9Wjp4hNLHkL0R+n3ir1PfSV3rkyR9t6U25ecxrXL0UPaKUnReabXCvFbRK2zC6rUdugKbDbX4BSo4sxZjiWYjIc+nHvT1iyJ59Z8OAt/Y2R5AvwToewiBrBXstWGNq68Bb7ZzthDSWsjqW2+kAbWNtC8q8Ht/1o6thP8sYkGlh047aKuQjLCyh1T9SROyvL8cl/V8nAkSbPk7JodsaqlTJjGnjz2vu8baA3yEYgSUlHzX6DNwT0wNMU4EBPOiDGftShs7UdmYr3LfjH5zq9JIkv77s6mjAj4RHUUNY7cNEnWDLtcmTeqL/ZhC77MTX1xTLvWt67BrqrzOMpqNKTeUf0UQpDxWrU8YSsM0Zxzs2pospAb0fwZdU8PpYecfTrHWZbIcuueaFDprQmrydB1voimHBtWfVw9Ei+awF2uVzvx4O1SqJdofb9bSZMzriod/OYYnrSBjfKxO0DfLvRjqfn1kioTzwWf2dSiFGHQY9eAzNN5rW1rqoTmzSZnZ89NLsJ57yhVjWsP4AQbm8hNMO01pEY6xZDFAfF3HAX1ULEJvCRJEgqJst35djap7tqJ x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA3PR01MB8450.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(376002)(366004)(396003)(39860400002)(136003)(451199024)(186009)(1800799009)(2616005)(4326008)(8936002)(41300700001)(5660300002)(8676002)(6512007)(6486002)(6506007)(26005)(53546011)(83380400001)(478600001)(71200400001)(316002)(786003)(6916009)(75432002)(122000001)(66556008)(66476007)(64756008)(66446008)(76116006)(66946007)(91956017)(86362001)(36756003)(33656002)(2906002)(38100700002)(38070700005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?njTjTjZOKDdgx72h7hyydJYjwFlgT30u9xHEPJNxqkiR5SCVcXVcPtIk82ao?= =?us-ascii?Q?5fMkfiKM4XF3LiCjazul2xzoX2Y7q8rJ4Yq32f6/E0vCY4Yd8bxALA9y450m?= =?us-ascii?Q?Aig3cQAkUKtgE+Pt7sh5it/j7tWUbHTDkGsgEsCeZAnDNgkGgLhQQWhMdOZy?= =?us-ascii?Q?rUskPyP7ulIk235VQYamJl4hUiF5oBXveIj1iviMtvD92S+fj+j4b0LPGWZD?= =?us-ascii?Q?oc66GFwD2jZP1ImbPFw7yA6TZ+G74ewltdBuTzPT39FLB9ilgLMAKzJnB7cl?= =?us-ascii?Q?Td3Sxc8Auqy2RTK0eXnP1wBAMBVaMJ/qN9E77H0Dizl3/haaC9wXG1G5lyzS?= =?us-ascii?Q?ZK/B+ZwWWzfZVfz5iNnvS4x6cT3pOPdMWGtjluu6Kt6ozssmNdLDAGB2kOLd?= =?us-ascii?Q?/k5EuCFv0leS+yfu2oju+futpXDU0dPdKRFgWiB3NGmYECG0SLnkF/jZBzb9?= =?us-ascii?Q?Py6OIs+ub9d3Q1/0Cjk4sNnmYfQVeDZr+yMe6qodhCJ/EpLYeqrAz6D42UUx?= =?us-ascii?Q?GLhc+Igv/RUYDxkEasSfxUKlWyUjvMqHZQ+xASUoTQ9V/0399mrBB5J46VO2?= =?us-ascii?Q?b262KfcwUhcSqzUDSPc8ZCGoWHSPXdTN+f8ijhInnDVBao4/Pp0YgFXZ7hKl?= =?us-ascii?Q?+UweOpBL9oEK2B58L19Eoj37nFaxDjM55a+oyBb/RRQoIiW7ErMqZVV4fjsM?= =?us-ascii?Q?kiII9ntiJ4ffKsZ3SjpIcKgvqlAf26iDH+aqQhEE8bqY8U4MsxOSpCmA+e0H?= =?us-ascii?Q?J5TerilBWEDGzEvl+y04+BlBW0FC4vdck8zLJn9tFnH2yLEEHXdWCKl0LbuB?= =?us-ascii?Q?54+RAJrI39AXBsHbKgcg3C8BcOSGjxa2gdXUXsysuw39LD8VZcGFXmFs9bas?= =?us-ascii?Q?Ggl70LIkb6WPT+wUXdtKW1WFEaj7RlIly+uGpLiVQUYVKklZeBE5TWckRXzR?= =?us-ascii?Q?NTB//5xLdzwO1Y9eTF2bGYEJIdNrTPH5Lqd0StLw1G1F/C/EkpOwLN4cW8jR?= =?us-ascii?Q?jJVfpQnJaosaMI4vmFqQsssRU5SO8eaygvX9ecf4I9ea5YT3muhpVjiFQOZe?= =?us-ascii?Q?0zWyv1QZ4liIUjC2eDkvC34L13tHEHcungZctdxGoZh1fLtr+vGp2GQZySxn?= =?us-ascii?Q?+cuoEPgRCrq/Dyd6zzXBKP0sUfg+F+QYEdM/hr8w3iohvXEEK12MGuWt83aB?= =?us-ascii?Q?6i0B7eG1vhJR3pCrdDdkx8p3Rju93GVxQQ1qCBMUPW/KXbnZ+V+dgTaDm1/8?= =?us-ascii?Q?1g/B2tH9d1xdm1snt9iSnG/MVbVG0axkO1m/SUTqdH/bhOiiEzjy9rnNAju7?= =?us-ascii?Q?WcxWWnN3VgaumXjJzomXaTqpkL8omkm9qXuR5Pcop+DBoLe6II8IZRMx2KpU?= =?us-ascii?Q?ceFk2OFHteHuGbd3VhBhNaj90Fja52FXlGJls348KFcJH5zuh6AKwbNxrVcH?= =?us-ascii?Q?+VXkteBb2/RawXzr81bPJm6uTOHoZQ4xPes8+ouw/p6rYvg7fcS2fb8MasAj?= =?us-ascii?Q?X/NIqcP1E8JPsyifAJVal8csWvqAlqJlTZiAJhg6adJVb/JJXsl9PZnr7ORQ?= =?us-ascii?Q?aoxXroO5+lExTGG6zfM=3D?= Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable 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 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA3PR01MB8450.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9a6dfa8e-f79d-497e-e57d-08dbba34dd27 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Sep 2023 23:54:01.4291 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: qan+OzyAHrnx3Gzt9PFa0Uu9tb5ytyT0va1Q+3RlFiteZG+Qx8z3k5peqZWAbOVr X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR01MB8004 X-OriginatorOrg: mit.edu X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.90 / 15.00]; DWL_DNSWL_LOW(-1.00)[mit.edu:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[mit.edu,none]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCVD_IN_DNSWL_MED(-0.40)[18.9.28.13:from,18.9.3.18:received]; R_DKIM_ALLOW(-0.20)[mit.edu:s=outgoing]; R_SPF_ALLOW(-0.20)[+ip4:18.9.28.0/24]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_FIVE(0.00)[6]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[104.47.51.46:received]; DKIM_TRACE(0.00)[mit.edu:+]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_ALL(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:3, ipnet:18.9.0.0/16, country:US]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org] X-Rspamd-Queue-Id: 4Rrb3N1qYcz4gVq On Sep 20, 2023, at 16:47, Rick Macklem wrote: >=20 > Right now (as noted by PR#273962) copy_file_range(2) > fails for shared memory objects because there is no > vnode (f_vnode =3D=3D NULL) for them and the code uses > vnodes (including a file system specific VOP_COPY_FILE_RANGE(9)). >=20 > Do you think copy_file_range(2) should work for shared memory objects? >=20 > This would require specific handling in kern_copy_file_range() > to work. I do not think the patch would be a lot of work, but > I am not familiar with the f_ops and shared memory code. >=20 > rick >=20 According to a Linux man page, some failure modes are EINVAL Either fd_in or fd_out is not a regular file. EOPNOTSUPP (since Linux 5.19) The filesystem does not support this o= peration. EXDEV (since Linux 5.19) The files referred to by fd_in and fd_out are not on the same filesystem, and the source and target filesystems are not of the same type, or do not support cross-filesystem copy. According to the FreeBSD man page The copy_file_range() system call is expected to be compatible with th= e Linux system call of the same name. From nobody Thu Sep 21 00:30:57 2023 X-Original-To: freebsd-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 4Rrbt562swz4vNsl for ; Thu, 21 Sep 2023 00:31:09 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rrbt54FJ5z4jLt; Thu, 21 Sep 2023 00:31:09 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-578d791dd91so227437a12.0; Wed, 20 Sep 2023 17:31:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695256268; x=1695861068; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=wcf0Pf8PaTT4Kzz7BBkD3FrhOrdpzZtrgYiqI7hxFrI=; b=OdzAHJlN04hTfVd1uGb4/zOkReYgoUAxKlGTFf0LQAsuRXG8TGHN/7wl2yNFfVdTIz obu0yqeZqL7UwZB1u78RgYLscNXw/gs0rZdAWp2Wmw/SwTzFC282/a03jLi4PYfUgcXw 9cyRWqdPyXFztFnYobSxUPyF5+5IPTu/q3mvVvdLfh8JDb+tDJNdKZQHr/PZkWFWINw+ 2jC1dQEt8kGS/1U8d1yQzuqz/4yWVrhv0MXO3zcFP4W3BXfd/rpnjRtwW1emdD9PiDfW xZ//MVI94iQKsa/tOqbTNc7BAjQZ8CTvB2cNp/tXv+zEI+ASanwvolVAgni1lMrtpCq5 FZuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695256268; x=1695861068; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wcf0Pf8PaTT4Kzz7BBkD3FrhOrdpzZtrgYiqI7hxFrI=; b=vjdFZUJwaUkLbTxFIIFLO0FIHWWkqUXiBqAlW2vuuBOXkbbaMgfmYn7VqbJOMTvOD/ lMwcqEOQ2cFSLY2lNEWdEuPOV+In6Xff73J0eA0zsM8o1lYEIVkJlYuxJkNfc3Pn9an3 rXSVlvwvTv9L9tu29vmi1WDdjQRyGVDtBjxWM56OGjP2+v7nZslFsvYk0pqBJdhsmcBW RBUVYud6Wg+84u88Ei6+5rCJBsfyqkfqvPwzM8LP6BsjNsE/p7bLBRz7Kw60Sfyaj4G4 gAWXeboETosSvuC/Xsm7P6DTLam0RYSDT+q2ie96VqYvYnqHDOMuC2i/zpLPequ5V8wc 8vEg== X-Gm-Message-State: AOJu0YzVmw95Vii7s85xaOsdB5a6YjMtr71zPA8uKkNYrq5Ijz71v4JS geqz8FBi386TcEGbjsF2JDXJEY/iyTZCHRqybxz9Eok= X-Google-Smtp-Source: AGHT+IFx2SJE71gJs1hxWPChDJlP476d8ulZAt8rj8pR3WANS0kvV3KZbW+bePH0YjiH09djMpsreYjoXtKUB2nfnTw= X-Received: by 2002:a17:90a:34c3:b0:263:f521:da3e with SMTP id m3-20020a17090a34c300b00263f521da3emr5796030pjf.2.1695256268169; Wed, 20 Sep 2023 17:31:08 -0700 (PDT) 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 References: In-Reply-To: From: Rick Macklem Date: Wed, 20 Sep 2023 17:30:57 -0700 Message-ID: Subject: Re: RFC: Should copy_file_range(2) work for shared memory objects? To: Alan Somers Cc: Freebsd fs Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Rrbt54FJ5z4jLt On Wed, Sep 20, 2023 at 4:52=E2=80=AFPM Alan Somers w= rote: > > On Wed, Sep 20, 2023 at 4:47=E2=80=AFPM Rick Macklem wrote: > > > > On Wed, Sep 20, 2023 at 4:21=E2=80=AFPM Rick Macklem wrote: > > > > > > On Wed, Sep 20, 2023 at 4:09=E2=80=AFPM Rick Macklem wrote: > > > > > > > > On Wed, Sep 20, 2023 at 3:07=E2=80=AFPM Alan Somers wrote: > > > > > > > > > > On Wed, Sep 20, 2023 at 3:05=E2=80=AFPM Rick Macklem wrote: > > > > > > > > > > > > Right now (as noted by PR#273962) copy_file_range(2) > > > > > > fails for shared memory objects because there is no > > > > > > vnode (f_vnode =3D=3D NULL) for them and the code uses > > > > > > vnodes (including a file system specific VOP_COPY_FILE_RANGE(9)= ). > > > > > > > > > > > > Do you think copy_file_range(2) should work for shared memory o= bjects? > > > > > > > > > > > > This would require specific handling in kern_copy_file_range() > > > > > > to work. I do not think the patch would be a lot of work, but > > > > > > I am not familiar with the f_ops and shared memory code. > > > > > > > > > > > > rick > > > > > > > > > > This sounds annoying to fix. But I think we ought to. Right now > > > > > programmers can assume that copy_file_range will work for every t= ype > > > > > of file. We don't document an EOPNOTSUP error code or anything l= ike > > > > > that. Does it work on sockets, too? > > > > No. I guess I have a different definition of "file" (unless you mea= nt > > > > "filedesc"?). I cannot see how a "range is defined for sockets > > > > or named pipes or...". It currently checks for a f_vnode, which > > > > probably is not enough. (I haven't figured out what path_fileops > > > > are, so I do not know if they work?) > > > > > > > > I can see how it can be implemented for shared memory objects. > > > > However, this is going to take a fair amount of work, since they > > > > do not use vnodes. > > > > I think it goes something like this: > > > > - Create a new fileops (f_copy_file_range), since it needs to use > > > > the correct range lock variables (in shmfd instead of vnode ones)= . > > > > - Move most of kern_copy_file_range() into vnodeop_copy_file_range(= ) > > > > and call f_copy_file_range() from kern_copy_file_range(). > > > > - Create a shm_copy_file_range() that does the correct range lockin= g > > > > and then copies via uiomove(). > > > > This would be a KABI change, so I do not think it could be MFC'd. > > > > > > > > I think there is a need for copy_file_range(2) to return EOPNOTSUP > > > > for cases it will never handle. (I need to test AF_LOCAL sockets, > > > > since I think they have vnodes?) > > > copy_file_range(2) does currently return EOPNOTSUPP for unix > > > domain (AF_LOCAL) sockets. The man page needs to be fixed, > > > whether or not support for shared memory objects is added. > > > > > Oops, my mistake. It was the open(2) that failed with EOPNOTSUPP, > > not copy_file_range(2). (I have a simple test program that open(2)s > > file names and then uses copy_file_range(2) on the descriptors. > > Btw, an open(2) with O_PATH works, but no data is copied. > > Not sure if that should be considered correct behaviour? > > Do you mean that copy_file_range returns 0 for AF_LOCAL sockets? That > sounds suspicious. 0 could be interpreted as EoF. Could you please > share your test program? No, it meant that copy_file-range(2) never got called. Btw, if copy_file_range(2) starts returning anything other than EINVAL for inappropriate file descriptors, cp(1) and maybe cat(1) will need to be fixed. (cp checks for EINVAL and cat checks for EINVAL and EBADF, to decide if a non-copy_file_range(2) should be done when copy_file-range(2= ) fails.) rick From nobody Thu Sep 21 00:39:05 2023 X-Original-To: freebsd-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 4Rrc3V4csyz4vNvY for ; Thu, 21 Sep 2023 00:39:18 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rrc3T6v6vz4kG5 for ; Thu, 21 Sep 2023 00:39:17 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-274939681b5so241402a91.0 for ; Wed, 20 Sep 2023 17:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695256756; x=1695861556; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=HuX1XTdJTxywbnxtkjESZdh7GrdCEvvWnFzH1gZ63Ks=; b=JC40m9tX0S2GtHca7ZVNxJPhqhAlvvj8Quvf0rStv5v2+k64udympAHEtIR8XJKUyT 160xF5VYk+4XXP1YoS1H6plsXksDGxHWI5mL7DCB1XU5ez6EUBj759ASNNuHrT99o8Ub NRsYJxwpA5NSrKfnY4P+mRIQQ2iyeVyBBxZvyG1pEXOMf7OoaxyKxgu6fgQhBE6fW16X FPpRf2tJJPIBwBaosN8KDl+dygMTolCtwGQ+KG0+ZkMEvUeWOQ/ZDzACeVkeJ65/3Nov RQyT9psYJ3H04X6DsO5X24qYW7CxQRezt2nWS3HlaijZjRqmDQ7zwbEy5qOw4jFaSU6l xfZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695256756; x=1695861556; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HuX1XTdJTxywbnxtkjESZdh7GrdCEvvWnFzH1gZ63Ks=; b=XhVXvMwZ0pVgsVPg5vQ6aZVK7vApDivSgQDxiUvmUdgeb7+MtVszhTijCDZbclL+Y0 8rY4coeIB/hBLKBFGYnXA6JPtaBnaGnzNWHAnHsG04STmXLMHbOXiHDdfHKKywG0g+zm O2cr4XnpOgJbmK85vaZWFP22g65NuJW4ckEzfl5oiNrmm4hnc0vspYZ8V2NUUaQ7cUxw KtiKz7AO41cLWCiITCzd6YO2zmtLNx1b4O/CQ/HX9+x3Pd9/D8MhrV0LahkCnav4aL8B pQNAQ/3aUQ/1oWzcBtp5+cWVp2oxAFc3LwiwiD/2k1+6mil60jhuJyHKstjP8y6I2oLB D3+g== X-Gm-Message-State: AOJu0Yy2t1ZtsWXhRyCvtBBpPiiRVwwKAdTm/tuV9XHyV2IwDqaL0AyV m+FlVQLxPcnzU8/QuvuLA6Q47rJbHCGTbaznaw== X-Google-Smtp-Source: AGHT+IFEDtCEehXhNp/gXo5IbSwrHvvz+rLxdEMU3P9qcWqiWSnGOCN9R0VfNv3hNsC6VBPNtkPioBgSEFri28NFD8o= X-Received: by 2002:a17:90b:1490:b0:268:f45:c10a with SMTP id js16-20020a17090b149000b002680f45c10amr4177256pjb.26.1695256756559; Wed, 20 Sep 2023 17:39:16 -0700 (PDT) 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 References: In-Reply-To: From: Rick Macklem Date: Wed, 20 Sep 2023 17:39:05 -0700 Message-ID: Subject: Re: RFC: Should copy_file_range(2) work for shared memory objects? To: John F Carr Cc: Freebsd fs Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[] X-Rspamd-Queue-Id: 4Rrc3T6v6vz4kG5 On Wed, Sep 20, 2023 at 4:54=E2=80=AFPM John F Carr wrote: > > On Sep 20, 2023, at 16:47, Rick Macklem wrote: > > > > Right now (as noted by PR#273962) copy_file_range(2) > > fails for shared memory objects because there is no > > vnode (f_vnode =3D=3D NULL) for them and the code uses > > vnodes (including a file system specific VOP_COPY_FILE_RANGE(9)). > > > > Do you think copy_file_range(2) should work for shared memory objects? > > > > This would require specific handling in kern_copy_file_range() > > to work. I do not think the patch would be a lot of work, but > > I am not familiar with the f_ops and shared memory code. > > > > rick > > > > According to a Linux man page, some failure modes are > > EINVAL Either fd_in or fd_out is not a regular file. > > EOPNOTSUPP (since Linux 5.19) The filesystem does not support this= operation. > > EXDEV (since Linux 5.19) > The files referred to by fd_in and fd_out are not on the > same filesystem, and the source and target filesystems are > not of the same type, or do not support cross-filesystem copy= . > > According to the FreeBSD man page > > The copy_file_range() system call is expected to be compatible with = the > Linux system call of the same name. > So, I guess you are advocating for sticking with "Linux compatible"? I'm fine with that, but we'll see what others say. Thanks for your comments, rick ps; When I go look at the Linux man page, I often get an out-of-dat one, so I am never sure what Linux currently does. (It is also confusing because some distros implement copy_file_range() in their libc instead of the kernel. I think more recent Linux kernels do support the syscall.) From nobody Thu Sep 21 01:00:02 2023 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 4RrcWQ1SWmz4vQMG for ; Thu, 21 Sep 2023 01:00:02 +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 4RrcWP6rk2z4mn6 for ; Thu, 21 Sep 2023 01:00:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695258002; a=rsa-sha256; cv=none; b=isda0toc/cNOzlG/5pzMzk8OirGfXN62jqa3hONDi29ZkDQbc03thCH2H6cVhvfvYi68l8 2/Kg7QZyfqKeLMEKeVdFB/ELix/J37c6Go0xkwXQM4DcekjswCdRQpy9HWgt+A7RKmA97y tgbzzwREa089e5QvvoPt1X1g+Dub7q4ymtL7FsQdbGTSlpb/4M3clnhWSgbBeON2A1GchF mrNOQ0yN9XHcakf8zAiNy1lxAM29k7TgHe/fQyyT9B7eTkO8vpWIhQUdCGD8r39YdSKv3c 1SODCtYTTiKRDLEKDDE4Qal54e6d7WrDOj3v9qH6IEV9s81jUjGovuW6sELIfA== 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=1695258002; 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=FQXZuW+K0ObVqRCZzTrgIlVOoq52GxkfluBIXm4EBPo=; b=MSJ5zQ+9kQJOiUoj7IcGbSqz1VURLADt3+wQnKhrjh5KhbHIb38JE+R7Pgcy+7jE4XWfs+ PXfNafP1szMxsJd9Bf+2OYREZZ7Zf7PwB5l5AOh76ucaz8p0exXWY4GBwva7GWIx+22qdP 2dg8HO4YQ044XJVpG2JkY8m6m37Mux5+SpDleGra05r3H5RXgwx6wQPUbX/dNrPBrIL2rg w2dgj4XZPHIolJv2bfPHAS72VcwciAJOl9RuZjl03p3JxsxsstZFpxbrTN+pbXM6Qdlude M52nGpp7zcAEe7gguuXOO5N5SLzISnCAMVOmrOUk3Vm9qnuyPW3/3L5w+6dqbw== 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 4RrcWP5xWyz2vj for ; Thu, 21 Sep 2023 01:00:01 +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 38L101Un049436 for ; Thu, 21 Sep 2023 01:00:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38L101v3049428 for fs@FreeBSD.org; Thu, 21 Sep 2023 01:00:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 273953] panic: vfs_remount_ro: mp is not busied Date: Thu, 21 Sep 2023 01:00:02 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@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=3D273953 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dc584bb9cac16bc200ac45cc8b709e7e7e= 99e24bb commit c584bb9cac16bc200ac45cc8b709e7e7e99e24bb Author: Konstantin Belousov AuthorDate: 2023-09-20 03:42:31 +0000 Commit: Konstantin Belousov CommitDate: 2023-09-21 00:59:11 +0000 vfs_remount_ro(): mnt_lockref should be only accessed after vfs_op_ente= r() PR: 273953 Sponsored by: The FreeBSD Foundation MFC after: 1 week sys/kern/vfs_mount.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Sep 21 15:02:51 2023 X-Original-To: freebsd-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 4RrzF21w6rz4tXMD for ; Thu, 21 Sep 2023 15:03:50 +0000 (UTC) (envelope-from jfc@mit.edu) Received: from outgoing-exchange-5.mit.edu (outgoing-exchange-5.mit.edu [18.9.28.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.outgoing-exchange.mit.edu", Issuer "InCommon RSA Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RrzF141pBz4K8m for ; Thu, 21 Sep 2023 15:03:49 +0000 (UTC) (envelope-from jfc@mit.edu) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mit.edu header.s=outgoing header.b=K0Stytjv; spf=pass (mx1.freebsd.org: domain of jfc@mit.edu designates 18.9.28.59 as permitted sender) smtp.mailfrom=jfc@mit.edu; dmarc=pass (policy=none) header.from=mit.edu Received: from oc11exedge1.exchange.mit.edu (OC11EXEDGE1.EXCHANGE.MIT.EDU [18.9.3.17]) by outgoing-exchange-5.mit.edu (8.14.7/8.12.4) with ESMTP id 38LF3kVI015033; Thu, 21 Sep 2023 11:03:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1695308627; bh=G+bm+N5cotAwMcZwB8skb7UuJTOBbwO9xEvfdGnk12g=; h=From:Subject:Date:Message-ID:Content-Type:MIME-Version; b=K0Stytjv9rDNvwGmzBXLOJ68MwM4LvUoQyOLFNuKMqv/yYf4pXb+T0RsNXoqFBSXM j37II6seqh26EDJsmh4Fcld74dK2XYcag0hVlKlRX6SOa12yL4t+y24jj6CczfRE1H tc0PWvdKtXjEK7YfxsCHHmFq4jaIhtlRyH9d8dqYqtyoXxhAURr7ClkFJM+jDzeKYa 1TlnFU7bkk54Luzw5/fZQ1B6msmrNddWdBpBvK3XGaZlbda6vuO0yaUejRdBuShIzF FWklkCJ44bkSclD3mlmKNdTpzvnjos7Z0883WJrQ11cXGAnuCwBjgBa4qQHMkqzZc5 CUImoilGNvfKg== Received: from w92expo20.exchange.mit.edu (18.7.74.74) by oc11exedge1.exchange.mit.edu (18.9.3.17) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 21 Sep 2023 11:02:36 -0400 Received: from oc11exhyb7.exchange.mit.edu (18.9.1.112) by w92expo20.exchange.mit.edu (18.7.74.74) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 21 Sep 2023 11:02:53 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) by oc11exhyb7.exchange.mit.edu (18.9.1.112) with Microsoft SMTP Server (TLS) id 15.0.1497.48 via Frontend Transport; Thu, 21 Sep 2023 11:02:53 -0400 Received: from SA3PR01MB8450.prod.exchangelabs.com (2603:10b6:806:382::17) by DM8PR01MB6901.prod.exchangelabs.com (2603:10b6:8:12::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.28; Thu, 21 Sep 2023 15:02:52 +0000 Received: from SA3PR01MB8450.prod.exchangelabs.com ([fe80::ee32:19a8:b83e:efbf]) by SA3PR01MB8450.prod.exchangelabs.com ([fe80::ee32:19a8:b83e:efbf%7]) with mapi id 15.20.6813.018; Thu, 21 Sep 2023 15:02:51 +0000 From: "John F Carr" To: Rick Macklem CC: Freebsd fs Subject: Re: RFC: Should copy_file_range(2) work for shared memory objects? Thread-Topic: RFC: Should copy_file_range(2) work for shared memory objects? Thread-Index: AQHZ7AO5tx62EIf6Uki/4rnO3/jzpbAkY2AAgAAMpICAAPFKgA== Date: Thu, 21 Sep 2023 15:02:51 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA3PR01MB8450:EE_|DM8PR01MB6901:EE_ x-ms-office365-filtering-correlation-id: 9a743168-782b-49e2-735e-08dbbab3d3d6 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LDRdQa5s6aOIhust4QYL+HWN+IAMNvwfgiOAPSjSp3lX7sdm3N7A6zqgV0TC6Yjo1adnf8p+YdNmhDhhSxlzCg3OLUEkGV9KKeIB+EO0QDDk6DDBIgSZZpXmL+7tBIHHmBjsHUUa6puBnvPdC0YY5BNahwEozpo0srMSNRcOUCC+szJHcDRBwfcitWfZv6nwBe+YvjAY5qEfSFGXnHHYdReV/kAvGXx/Zwoi+1aUxhYTOkw+xpd3Oj1vabiFvXshHoYSZd+4ckQ2A2aBvVAkH0R+LK/GN1yRXnrE/enVA7ySR9GIsjiOm6oyl0P185k5hSzRLnXFq0owgnphq19/ZKniViIEIGFEsU8FbG8deVmBJh7A/ROQG6VGWgsOGPRiZxQ68imOIf0A6VEyndKyTE+2auBClIKLVxA2446JyXllB04cwFhbKoNFgExQoWmjQevB+vF1GMJu3tiXs0ljuIdBbd5+NHf73qvL/TsrUVJl6gUcFqL57dRVKVL7rrd3kC20TzY3Q21CMAOKamlhaS8BikHXaLnNLeMV2p1mCYuXFSl2Kst8xuiPJutOR0HOSC9O0G96Zov/uvkx+B5EYo8jB0LXKiS3skbpBstHQ3jqy5y8/TuBFZ14W8XRixBz x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA3PR01MB8450.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(346002)(376002)(366004)(39860400002)(396003)(451199024)(1800799009)(186009)(26005)(2616005)(2906002)(5660300002)(83380400001)(8936002)(64756008)(786003)(66446008)(316002)(66476007)(76116006)(66556008)(91956017)(6916009)(4326008)(8676002)(41300700001)(86362001)(33656002)(38100700002)(478600001)(38070700005)(36756003)(75432002)(66946007)(6506007)(6486002)(71200400001)(53546011)(6512007)(122000001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?aTBsOEczYXFweXI2Y0ltc25xZmZyVjVNYWx0NEFGb3FhOWxYdkdBVHlsRktl?= =?utf-8?B?QmxQWG5SZjlpTmZrQWkrRU5pSXdhRElDYk8yck14MnZoa2FLTGtFbnYvbkkx?= =?utf-8?B?eXhES1BoVVM2N09JRzd0U3RmSkdlMW5MMGQ3Sk4weStVRXMxTWczT2doU1Nz?= =?utf-8?B?MHVDQ0RpRTluY2d1MHcvbFBSRXZZNHpZRGd5V3pIeDVDTVpSbDdXNlBWZGxI?= =?utf-8?B?d0padnZDRzdydGREYnZZeEh4TVZQMFBuYnFmcERseDY1Q0lRL1pic0Ura0Q2?= =?utf-8?B?b015YUxha2VMdmlGR0FzQjlOUzZ1dVdJOXpjOW5tYWd6UU92QWNPWk1aNkFJ?= =?utf-8?B?MUlqR3VyTW95RzJ4T0NuTXJDU3lURkFhMGE0WTBUMUtCWUh6YThpSGN5S1l4?= =?utf-8?B?cmwxYXVFL3BFVllna1NKeTRJYzR4ZlNNdGN6YWpvczR4UFVuZGo1dHUzeGJF?= =?utf-8?B?SG9yU0ZxWWIvOG9ybGFYazZRUGw0OTNIc3ZRTi9UQWc5ais3UzJueXFKaEVX?= =?utf-8?B?bG5SaHRFT0JtMGlvNHJzME1FekJZMUg2WnBLV01VK0JlWEtERDFlMVUyNDhi?= =?utf-8?B?Rk5ESUhjNlgxTWZ3eFBpQ2lOT3BaUVo5N0FQTDlEQ2NRZ25oZ3Bsd1BabDJO?= =?utf-8?B?NzFzRTVySU5uVHdxRFQwUUkzNkNYS3oxNFFBclFHY0VnVG5wZTdxS3pScWxW?= =?utf-8?B?S0g1T3VOYjdmWElyb0JxR3JBK3pEdFhJUXlpbDY4aU9jWGlIdnBVTGgxTkhR?= =?utf-8?B?aGdJL2lJNnVQSVgvSjRUbGVRczI3UE9rYnM1L2ZFTnR1WVdZZ3JhRWkyeFVr?= =?utf-8?B?UkNTbW55SU1ZcXJSaEVnRTJsaW5wZWRFU2NsNmhmNkJJeWlwY1JCYlB1ZlF6?= =?utf-8?B?MC9adllEZTdOK3Jkc2EzSHc5NmFBeWRRdGN2OFNlZnBORFA4NlQwZkVzL0hL?= =?utf-8?B?dUNVR1BTWUowZnFSdDJyZ21oZlFtdzBEMDdWTFVhc2dsbUpTRDZGVlcrYnNB?= =?utf-8?B?bC94M2ZQU3pyUWU1QVo2UzVHSXpEWHNXeHRCMHZYY2xTdm5FTktSWFMyN3RC?= =?utf-8?B?YkdUMGxMeXdVOWdIUllzTkdKODNqdGdDaVlPMVZzUTdxaWZVSFZ4eFpRMzZ4?= =?utf-8?B?cnM3QTBFU3RVRnFjQ0tBd1p2U3hLd1hsMkVRdnJQU3o2eGNIcFJmeUdrRlJC?= =?utf-8?B?V3VPS3drZGFpSjhwYWdmR291dUZQSERLS3ByeUZDQUZaWndIM2tXVldMK2pn?= =?utf-8?B?MTFkUVFjRlpNZkc1VFlHa01UcXkxRWl1ejFqaXkxTmZFRkpBWXhSQ0lLQmtl?= =?utf-8?B?N1JPbGQwRm9WZTlKVC9YL1ZDN1cvdm95bVltVnRsa3pISzVGdkdvMGNEYTdh?= =?utf-8?B?NnI2VzhycWRJMWxDbCttODI4bng0YmNNNjgrbkdhK3FMa2VMUXV0THo3L0NQ?= =?utf-8?B?a0RZUnRybFg5YzkvRmJ1Yjh0RXFhNGV4cDg4OVFRM1lmeFUwcE1WUEJrdlRh?= =?utf-8?B?Kzl3WUFYamkzQlBOTGpIejFjRHRuNVU5a0hLTlcwa3JzMVZtcDg0VmxHeW0r?= =?utf-8?B?M0ovRXZmcHBSbngvYnpYeTFEaWZNTWprK0dIMGJBVlVNbDg2S1VLOHFHWDlw?= =?utf-8?B?ekxaTTlVOWNVOFcyUXBuanVsYURvN1lPcGFjc2Q1QURnYWpuK2crUC9HYjZp?= =?utf-8?B?aElYZXRyemkxSUtLRDZ0cWQvRHloK01mZ3pEVkZMRzJ3bmFNd09hV3ZJMTR0?= =?utf-8?B?MW9WL29MbmJxcElWdGRwaXZEejdnZHBBTXI5NjdvWGN2Uk5TdWhhekViTzVT?= =?utf-8?B?NlhkQnczYndsOEJJMmtoMmZRUkZCeUJBdnRuSTZuVjVlenRNQ3p0TXlkUWNL?= =?utf-8?B?S0tKY2xRT0Y4eE9mQ1N1d3AwRkdSRzJQeHBRMFZac3RKa2FHa205eThZWncz?= =?utf-8?B?MVczdXBhZXFneTJUWTBXWGVLcisxTThRVGp5c0p0aGNaS3cyd0RuZ1hGS0ll?= =?utf-8?B?aWcyaFRxbU92MUhwaThPSlgwSG1JN2J6dTJnRjNqVU83QWJUNlN3ZVhmcnN0?= =?utf-8?B?bkxBYlNZQkZkZ0wxUklOcVdhOUJhanp3eW1LSUY3K2lwbHlRV1o1bGNxeE9J?= =?utf-8?Q?2w4Q=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <2A5427E3848B23429CB428CAFA5AD01D@prod.exchangelabs.com> Content-Transfer-Encoding: base64 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 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA3PR01MB8450.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9a743168-782b-49e2-735e-08dbbab3d3d6 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Sep 2023 15:02:51.8740 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ToUa7VZLmE3MyM1/JC14OIUU1EGgi9JpCtYd6KNZYrZl6aBEFbd6HXtoErHaV+i7 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR01MB6901 X-OriginatorOrg: mit.edu X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.90 / 15.00]; DWL_DNSWL_LOW(-1.00)[mit.edu:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.998]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_POLICY_ALLOW(-0.50)[mit.edu,none]; RCVD_IN_DNSWL_MED(-0.40)[18.9.28.59:from,18.9.3.17:received]; R_SPF_ALLOW(-0.20)[+ip4:18.9.28.0/24]; R_DKIM_ALLOW(-0.20)[mit.edu:s=outgoing]; RCVD_IN_DNSWL_LOW(-0.10)[18.9.1.112:received]; MIME_BASE64_TEXT(0.10)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_FIVE(0.00)[6]; TAGGED_RCPT(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[104.47.58.169:received]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[mit.edu:+]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:3, ipnet:18.9.0.0/16, country:US]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org] X-Rspamd-Queue-Id: 4RrzF141pBz4K8m DQo+IE9uIFNlcCAyMCwgMjAyMywgYXQgMjA6MzksIFJpY2sgTWFja2xlbSA8cmljay5tYWNrbGVt QGdtYWlsLmNvbT4gd3JvdGU6DQo+IA0KPiBPbiBXZWQsIFNlcCAyMCwgMjAyMyBhdCA0OjU04oCv UE0gSm9obiBGIENhcnIgPGpmY0BtaXQuZWR1PiB3cm90ZToNCj4+IA0KPj4gT24gU2VwIDIwLCAy MDIzLCBhdCAxNjo0NywgUmljayBNYWNrbGVtIDxyaWNrLm1hY2tsZW1AZ21haWwuY29tPiB3cm90 ZToNCj4+PiANCj4+PiBSaWdodCBub3cgKGFzIG5vdGVkIGJ5IFBSIzI3Mzk2MikgY29weV9maWxl X3JhbmdlKDIpDQo+Pj4gZmFpbHMgZm9yIHNoYXJlZCBtZW1vcnkgb2JqZWN0cyBiZWNhdXNlIHRo ZXJlIGlzIG5vDQo+Pj4gdm5vZGUgKGZfdm5vZGUgPT0gTlVMTCkgZm9yIHRoZW0gYW5kIHRoZSBj b2RlIHVzZXMNCj4+PiB2bm9kZXMgKGluY2x1ZGluZyBhIGZpbGUgc3lzdGVtIHNwZWNpZmljIFZP UF9DT1BZX0ZJTEVfUkFOR0UoOSkpLg0KPj4+IA0KPj4+IERvIHlvdSB0aGluayBjb3B5X2ZpbGVf cmFuZ2UoMikgc2hvdWxkIHdvcmsgZm9yIHNoYXJlZCBtZW1vcnkgb2JqZWN0cz8NCj4+PiANCj4+ PiBUaGlzIHdvdWxkIHJlcXVpcmUgc3BlY2lmaWMgaGFuZGxpbmcgaW4ga2Vybl9jb3B5X2ZpbGVf cmFuZ2UoKQ0KPj4+IHRvIHdvcmsuICBJIGRvIG5vdCB0aGluayB0aGUgcGF0Y2ggd291bGQgYmUg YSBsb3Qgb2Ygd29yaywgYnV0DQo+Pj4gSSBhbSBub3QgZmFtaWxpYXIgd2l0aCB0aGUgZl9vcHMg YW5kIHNoYXJlZCBtZW1vcnkgY29kZS4NCj4+PiANCj4+PiByaWNrDQo+Pj4gDQo+PiANCj4+IEFj Y29yZGluZyB0byBhIExpbnV4IG1hbiBwYWdlLCBzb21lIGZhaWx1cmUgbW9kZXMgYXJlDQo+PiAN Cj4+ICAgICAgIEVJTlZBTCBFaXRoZXIgZmRfaW4gb3IgZmRfb3V0IGlzIG5vdCBhIHJlZ3VsYXIg ZmlsZS4NCj4+IA0KPj4gICAgICAgRU9QTk9UU1VQUCAoc2luY2UgTGludXggNS4xOSkgVGhlIGZp bGVzeXN0ZW0gZG9lcyBub3Qgc3VwcG9ydCB0aGlzIG9wZXJhdGlvbi4NCj4+IA0KPj4gICAgICAg RVhERVYgKHNpbmNlIExpbnV4IDUuMTkpDQo+PiAgICAgICAgICAgIFRoZSBmaWxlcyByZWZlcnJl ZCB0byBieSBmZF9pbiBhbmQgZmRfb3V0IGFyZSBub3Qgb24gdGhlDQo+PiAgICAgICAgICAgIHNh bWUgZmlsZXN5c3RlbSwgYW5kIHRoZSBzb3VyY2UgYW5kIHRhcmdldCBmaWxlc3lzdGVtcyBhcmUN Cj4+ICAgICAgICAgICAgbm90IG9mIHRoZSBzYW1lIHR5cGUsIG9yIGRvIG5vdCBzdXBwb3J0IGNy b3NzLWZpbGVzeXN0ZW0gY29weS4NCj4+IA0KPj4gQWNjb3JkaW5nIHRvIHRoZSBGcmVlQlNEIG1h biBwYWdlDQo+PiANCj4+ICAgICBUaGUgY29weV9maWxlX3JhbmdlKCkgc3lzdGVtIGNhbGwgaXMg ZXhwZWN0ZWQgdG8gYmUgY29tcGF0aWJsZSB3aXRoIHRoZQ0KPj4gICAgIExpbnV4IHN5c3RlbSBj YWxsIG9mIHRoZSBzYW1lIG5hbWUuDQo+PiANCj4gU28sIEkgZ3Vlc3MgeW91IGFyZSBhZHZvY2F0 aW5nIGZvciBzdGlja2luZyB3aXRoICJMaW51eCBjb21wYXRpYmxlIj8NCj4gSSdtIGZpbmUgd2l0 aCB0aGF0LCBidXQgd2UnbGwgc2VlIHdoYXQgb3RoZXJzIHNheS4NCj4gDQo+IFRoYW5rcyBmb3Ig eW91ciBjb21tZW50cywgcmljaw0KPiBwczsgV2hlbiBJIGdvIGxvb2sgYXQgdGhlIExpbnV4IG1h biBwYWdlLCBJIG9mdGVuIGdldCBhbiBvdXQtb2YtZGF0DQo+ICAgICBvbmUsIHNvIEkgYW0gbmV2 ZXIgc3VyZSB3aGF0IExpbnV4IGN1cnJlbnRseSBkb2VzLiAoSXQgaXMgYWxzbw0KPiAgICAgY29u ZnVzaW5nIGJlY2F1c2Ugc29tZSBkaXN0cm9zIGltcGxlbWVudCBjb3B5X2ZpbGVfcmFuZ2UoKQ0K PiAgICAgaW4gdGhlaXIgbGliYyBpbnN0ZWFkIG9mIHRoZSBrZXJuZWwuIEkgdGhpbmsgbW9yZSBy ZWNlbnQgTGludXgga2VybmVscw0KPiAgICAgZG8gc3VwcG9ydCB0aGUgc3lzY2FsbC4pDQoNCkkg dGhpbmsgTGludXggY29tcGF0aWJsZSBvciBhIGJpdCBiZXR0ZXIgaXMgZ29vZCBlbm91Z2ggZm9y IHRoZSBzeXN0ZW0gY2FsbC4NCklmIHdlIHdhbnQgdG8gc3VwcG9ydCBhbGwgc2FuZSBjb3B5IG9w ZXJhdGlvbnMgdGhlIGxpYmMgZnVuY3Rpb24gY2FuIGhhbmRsZQ0Kd2hhdCB0aGUga2VybmVsIGRv ZXMgbm90LiAgSSBkb24ndCBrbm93IGlmIGVtdWxhdGlvbiBzaG91bGQgYmUgdGhlIGRlZmF1bHQN CmJlaGF2aW9yLiAgVGhlIExpbnV4IG1hbiBwYWdlIHNheXMgImdsaWJjIDIuMjcgcHJvdmlkZXMg YSB1c2VyLXNwYWNlDQplbXVsYXRpb24gd2hlbiBpdCBpcyBub3QgYXZhaWxhYmxlLiINCg0KV2Ug Y2FuIG5vdCBwcm9wZXJseSBzdXBwb3J0IGFsbCBjYXNlcyB3aXRoIG9yIHdpdGhvdXQgYSBsaWJy YXJ5IHdyYXBwZXIuDQpXaGF0IGlmIHRoZSBjYWxsZXIgc3BlY2lmaWVzIGEgc2VlayBvZmZzZXQg b24gYSBub24tc2Vla2FibGUgb2JqZWN0Pw0KKEkgcmVjYWxsIGEgcmVhbGx5IG9ibm94aW91cyBw cm9ncmFtIHRoYXQgd291bGQgc2lnbmFsIGl0cyBkaXNwbGVhc3VyZQ0Kd2l0aCB5b3VyIGVudmly b25tZW50IGJ5IGNhbGxpbmcgbHNlZWsoKSBvbiAvZGV2L3R0eSwgY2F1c2luZyB5b3UgdG8NCmJl IGxvZ2dlZCBvdXQgd2hlbiB0aGUgc2hlbGwgY291bGQgbm90IHJlYWQgaW5wdXQuKQ0KDQoNCg== From nobody Thu Sep 21 20:53:51 2023 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 4Rs70w6njxz4tykT for ; Thu, 21 Sep 2023 20:53:52 +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 4Rs70w5HvDz3ZL4 for ; Thu, 21 Sep 2023 20:53:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695329632; a=rsa-sha256; cv=none; b=WVH4sQ5/QtPeg7DcHlIOB//PDyI1wsSZ92qiGyPpoJ3AfdV9N63SPH+487tKg/Qy16W20J a9MaKuO5LbzMTwbEwlDhVFdV5+wdjuozsVqrbh7sT0jvA8VxajOB8dM4XcRcRYCtbZXNws gBL/IKxR0OcWxO2vcFSXVDCbL3QUtKmL5M2cPsIzqyPlauP4iwIrsB17fPUxd/J0K39v8y j+vBkF55yZ4kPfHSbiYWkqWCxeAxN1wSR5b5y/N+h9NG7llb+4WfPf2mCUI9CGCOzbt1L+ j7WrvuDxxY8btyHgHMNj1qF1Jq1XDof0b90NMkx1s+aMFFm0JzcqvjqIDCNtKA== 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=1695329632; 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=cpwsCuLSn+fhiYIhI9kw03aLW6ts9fbQu5QUACOleEs=; b=qnROVMpy0bIbRNrN6dorRKINgM6i5s4DkRfBAcRAIFJHSbzHSf7JDqRuuTEBZi+tJRSp03 wheQAugMu6rmBp+2vd07dL/UVELeHy0t3YmHZBYlak2XnCN+6G/FOyARpVRjGHxpUNP6kU xbtJ2hL+81KFOMe3dzsDna6yEzLV6Ej4RZQr+i1TtSqIrzRE4W7QIiV39aNQtPsn0dJiYH IpxCemZluI4kKHh5eNY0HtsFm4iol+grybdXtM8fybbCJnQ5s4+K/NMoaa54Z/2wHfeTNB NfQILbbuOLDSO6GPa5XLRSq6E50AKIavG+zODLoxI4UxmTQFUwbQgOgzVWHZZQ== 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 4Rs70w4Lk3ztTB for ; Thu, 21 Sep 2023 20:53:52 +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 38LKrqNt037451 for ; Thu, 21 Sep 2023 20:53:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38LKrqou037449 for fs@FreeBSD.org; Thu, 21 Sep 2023 20:53:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 273663] zfsd crashes in the presence of pools with removed TLVs Date: Thu, 21 Sep 2023 20:53:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: crash, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: asomers@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable14? mfc-stable12? 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=3D273663 --- Comment #11 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Da39aac5bb8e46b0d9cd77e85be8a65808= f8a89ce commit a39aac5bb8e46b0d9cd77e85be8a65808f8a89ce Author: Alan Somers AuthorDate: 2023-09-12 01:20:39 +0000 Commit: Alan Somers CommitDate: 2023-09-21 20:39:52 +0000 Fix zfsd with the device_removal pool feature. Previously zfsd would crash in the presence of a pool with a top-level-vdev that had previously been removed. The crash happened because the configuration nvlist of such a TLV contains an empty ZPOOL_CONFIG_CHILDREN array, which led to a pop_front from an empty list, which has undefined behavior. The crash only happened in stable/14 and later, probably do to differences in libcxx, but the change should be MFCed anyway. PR: 273663 Reported by: Marek Zarychta Sponsored by: Axcient Reviewed by: mav Differential Revision: https://reviews.freebsd.org/D41818 (cherry picked from commit 0b294a386d34f6584848ed52407687df7ae59861) cddl/usr.sbin/zfsd/tests/zfsd_unittest.cc | 37 +++++++++++++++++++++++++++= ++++ cddl/usr.sbin/zfsd/vdev_iterator.cc | 5 +---- 2 files changed, 38 insertions(+), 4 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Sep 21 22:22:07 2023 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 4Rs8yl5jwTz4v4gL for ; Thu, 21 Sep 2023 22:22:07 +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 4Rs8yl4gM5z4GjP for ; Thu, 21 Sep 2023 22:22:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695334927; a=rsa-sha256; cv=none; b=QWqZ2DA2cu4o2Pj4BPqBX/WfGAs5eyrq3hJrMtD7D0OVxPJa3a0NjUbigE7Qel5QboFHCN uarmo1x9aaNBHWIYRsoyJ/Qh9EHUEyQ8v3/OoXdhAut4O1ctspTFCqPPhwB/3MqWkyV/FW nsnjEDIjSGD9Uo/4iAS+TYL+k2nifgzAdMq3yABAA23V6Kls1zNM+NIiI4bzTph/AEpJa/ o/IqiTV+G03XstLbeXA/dpgPF5EGGTMuQPU/AopXfKizf86n8ZnKPjRcm3+yPcf/8E4HAY lCPwP90rcgqodTx1m3ZwFx7ZZ1ZNKLQAQxQIIPhfotL6wYrFfpAOPzTY/+WeeQ== 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=1695334927; 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=TvhrlxPGw33JNv7qWUUT8xgWcZ1as+Pv8vSxjlhLdzM=; b=luIc5fDF4V3nK59V2J+RoRZvFuTRvFnI5k+oaO3Q+THx5ArSbvibC2y7IqK8mR3e1/CBPB tivfT9b57s5QhJrcBohSzjLClXXZdBanNVtddXvFtzrGr3x5ss8snftzvyT4NR+T6uBRx6 UfmkXb14su27YJvs1+F/+K65HvY//9FTsxBp+TJaAyBFijtgbOw6VG02BsV+jVJot2KLrZ ZAIYxsR+JoNS4kRWA7GtHXByegehVEgAW934PdUAhbeN9QhsFCSG8WZjh2aTAw0LwK+MPc kX2g2aHaR3fw3XvRT30J9MWliRVobpkfs+fYiKyIqsO3dWznVZm9W/Lz+UfAaA== 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 4Rs8yl3fKGzwgB for ; Thu, 21 Sep 2023 22:22:07 +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 38LMM7mZ073009 for ; Thu, 21 Sep 2023 22:22:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38LMM7gM073008 for fs@FreeBSD.org; Thu, 21 Sep 2023 22:22:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 273663] zfsd crashes in the presence of pools with removed TLVs Date: Thu, 21 Sep 2023 22:22:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: crash, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: asomers@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable14? mfc-stable12? 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=3D273663 --- Comment #12 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D3676929d3caea131170a48f8e054299d6= 8c81ec5 commit 3676929d3caea131170a48f8e054299d68c81ec5 Author: Alan Somers AuthorDate: 2023-09-12 01:20:39 +0000 Commit: Alan Somers CommitDate: 2023-09-21 22:20:43 +0000 Fix zfsd with the device_removal pool feature. Previously zfsd would crash in the presence of a pool with a top-level-vdev that had previously been removed. The crash happened because the configuration nvlist of such a TLV contains an empty ZPOOL_CONFIG_CHILDREN array, which led to a pop_front from an empty list, which has undefined behavior. The crash only happened in stable/14 and later, probably do to differences in libcxx, but the change should be MFCed anyway. PR: 273663 Reported by: Marek Zarychta Sponsored by: Axcient Reviewed by: mav Differential Revision: https://reviews.freebsd.org/D41818 (cherry picked from commit 0b294a386d34f6584848ed52407687df7ae59861) cddl/usr.sbin/zfsd/tests/zfsd_unittest.cc | 37 +++++++++++++++++++++++++++= ++++ cddl/usr.sbin/zfsd/vdev_iterator.cc | 5 +---- 2 files changed, 38 insertions(+), 4 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Sep 21 22:25:09 2023 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 4Rs92F30Kdz4v58b for ; Thu, 21 Sep 2023 22:25:09 +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 4Rs92F1zzxz4HK6 for ; Thu, 21 Sep 2023 22:25:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695335109; a=rsa-sha256; cv=none; b=y3XnlRJ18lqaErhFK/mbO7ZmhZrE6+vLecbfZhqAWfft3VtXGDTrp5qw6BP5Jz8QI3cXnN 8sV5LXdZmcefvSTnkKFPMJdv3fYIEnlBWsT6ROe3zEidexlgwnpORFZ+A6YrSyEEdMDEVD tiaBYBF2nTnogBb9u2qvXwcwKWLltkJG7TcW5JT5UqGg+AK9htP9Xv/G4WTdnehvj1a0j3 dMOm4ijxo/580RV554aoStkRB2PyqjqZgmbitzouem6IYSsRmXLdFZroJpnALEuZIzHv7X SPOheVvAJwMyCIBBR5tPaqNoOT2GfA4YsNqS3XxoDdhXRu9c+5cykgccVg+T2A== 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=1695335109; 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=c6Tr9+jeGsJAEw9JBA9KmDxJdWxzYXkXgYWSoDsYXEA=; b=mxc613WtuAlk9SqNU3wNghgjWTkaWItKLo+OhpacdZN1Lnonm4wV39uyITCSy5pTfaWIXS qc5IuxTV8X9MM56hqA3n3IUZS9qdqtA9IfBoDxjOP1UC87TE4w8yoJ48qS3OgRgvCfW9iw j3Z2l+ALGTLCShsEPN+N7qJQXf7DCY8Rv3ObM8LcIg0IiDzpKhFKkg8Pq/lShOwe5FazM3 liNYzZP4PbBoM1LsuxMGTcBt2bJZZzPA/8R+0jzsHTsTx6y+87s26TohYShTlpLOU26VRk VVaNjnlDyhgjoNfYMnKUplfB9qHBW15M75X9VMZXFuHzHBmupl4m/XcZrw84dA== 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 4Rs92F0t4xzx3H for ; Thu, 21 Sep 2023 22:25:09 +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 38LMP9mT077019 for ; Thu, 21 Sep 2023 22:25:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38LMP9uw077018 for fs@FreeBSD.org; Thu, 21 Sep 2023 22:25:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 273663] zfsd crashes in the presence of pools with removed TLVs Date: Thu, 21 Sep 2023 22:25:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: crash, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: asomers@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable14? mfc-stable12? 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=3D273663 --- Comment #13 from commit-hook@FreeBSD.org --- A commit in branch releng/14.0 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Da015b9e690d87c45c73dd08840712f576= 894dbf9 commit a015b9e690d87c45c73dd08840712f576894dbf9 Author: Alan Somers AuthorDate: 2023-09-12 01:20:39 +0000 Commit: Alan Somers CommitDate: 2023-09-21 22:23:47 +0000 Fix zfsd with the device_removal pool feature. Previously zfsd would crash in the presence of a pool with a top-level-vdev that had previously been removed. The crash happened because the configuration nvlist of such a TLV contains an empty ZPOOL_CONFIG_CHILDREN array, which led to a pop_front from an empty list, which has undefined behavior. The crash only happened in stable/14 and later, probably do to differences in libcxx, but the change should be MFCed anyway. PR: 273663 Reported by: Marek Zarychta Sponsored by: Axcient Reviewed by: mav Differential Revision: https://reviews.freebsd.org/D41818 Approved by: gjb (re) (cherry picked from commit 0b294a386d34f6584848ed52407687df7ae59861) (cherry picked from commit a39aac5bb8e46b0d9cd77e85be8a65808f8a89ce) cddl/usr.sbin/zfsd/tests/zfsd_unittest.cc | 37 +++++++++++++++++++++++++++= ++++ cddl/usr.sbin/zfsd/vdev_iterator.cc | 5 +---- 2 files changed, 38 insertions(+), 4 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Sep 21 22:27:52 2023 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 4Rs95N5P0xz4v5L4 for ; Thu, 21 Sep 2023 22:27:52 +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 4Rs95N4MZzz4J4t for ; Thu, 21 Sep 2023 22:27:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695335272; a=rsa-sha256; cv=none; b=NMoKoelQUiy1EhImv//gn7zZYJpkKtkoFbRSCyW/H2NKe91j/Lutua5QpeqJOoQ8RQV/S9 VxTzRLI1bhDrsEkNR/t7tOyxCmcZ4rv11B59L9LnYTBSseiKh+/Gz8yj5piAYkHohu5pQY PfZrxqpn0/zQdZmroiQkreMoA7QlvUnCeNy6/kQoQEPvrptwJzAjQHoie2Jwldm2vC78sJ pAmlB6bOg7Rm8VSLs6v3e257kn2F0yMvwV57ly597MPuAsm2JNzLDtUkEGVE3J0a7Nf++z 22iJxTLPeQhEXx9oo52Y3SYu87mb7BfgtX50Ng6VzXN4oZNRC0zs8Y9D9J6U/g== 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=1695335272; 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=KGNVb03GrH/tucDr/5ZKh/rPzfoWBmzBqTooWuLqE8o=; b=oUVD7Nbjo/jSB/zkmxotBSZxd327KV/WHjQhHIthLoJZUuHcpYF/F++N7bbEjWV3m+Ttbz haVZwOfgOmcxCq04bJgzS2r3hRaz7Q0AIRCYgXwgSfDRhtWdD+RLYUbWp27Kw2/3FCh9sY Ore8lLgsQbGgQJZtbMi38/izpDW0+fS56LkTo+A4V4PVTDbBVJmFQBAuC1gGExnfgPzcts K1Brvkh7/Gzcqlh62En9v8GMQcxeENAxR0NGxDkdR3AG4Y9whISv8gjaMAI54j2qUra/6r HpShDP8JiunIomwqqXA0VLXWDS0UUYIY0C7NXTBt2yFWKJqQaPKD4JQzxegYjQ== 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 4Rs95N3MkPzwpk for ; Thu, 21 Sep 2023 22:27:52 +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 38LMRqML078018 for ; Thu, 21 Sep 2023 22:27:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38LMRqTm078017 for fs@FreeBSD.org; Thu, 21 Sep 2023 22:27:52 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 273663] zfsd crashes in the presence of pools with removed TLVs Date: Thu, 21 Sep 2023 22:27:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: crash, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: asomers@FreeBSD.org X-Bugzilla-Flags: mfc-stable13+ mfc-stable14+ mfc-stable12+ X-Bugzilla-Changed-Fields: resolution flagtypes.name bug_status 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=3D273663 Alan Somers changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Flags|mfc-stable13?, |mfc-stable13+, |mfc-stable14?, |mfc-stable14+, |mfc-stable12? |mfc-stable12+ Status|In Progress |Closed --- Comment #14 from Alan Somers --- MFCs complete. The fix will be available in 14.0-RELEASE. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Sep 21 22:28:10 2023 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 4Rs95k5TBQz4v5NS for ; Thu, 21 Sep 2023 22:28:10 +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 4Rs95k4QlGz4JFb for ; Thu, 21 Sep 2023 22:28:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695335290; a=rsa-sha256; cv=none; b=sNOB15uVMkYoisTGjjk+Geyv88mJt/KWEY7mVdFPofC7/hpwKmXs2nJfhcpA7SBNQiGciL 0We5CZtC0IKXzC2rOTFC2rDHt2z1PvFkuvcgIELIJXjHLSwbUdjO0IPLfaZn7ZNqgJRVw3 uWjH3rJYoibtimHYfaBYF9IumV5dSd3GjOlft8bbENJHzM23yQ3SVQ0HBnrCsekGpz3fA0 S+l5c3SPaFo0rqudUk51voBvra5BPWQbzAX9FzpLytU6sMGIdQ17R7JUTVK8RQ89WDqYvC /644rW0hS9LV5ubxLBU+JwBQG3zx+1FY7u/V3zY28PP95XvwGo5lR2ks6Mq08w== 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=1695335290; 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=M+s5CIg9ZglifjVY2S3gkYxQRMnbLZdO7gd6gz0GOso=; b=a2IQyo0IryVqgw8ZoVgnqtAB/pMvX3H1EqtUtpWDlinvlkKfOI0cHdnAN4ZX4KTj/scYvA Yp8wVbvVh5SJflKJMnSB0fYk6g6s2bw3QCydZr+8MMt7Fv24aMcPv6GnolWm9FOpeel5EY HAYvvi+LccLORZlAZKLKYT3Ec0xRV7rO3g3BWUHnQ/n+1Fh88Nq6HQ51PFs8a6+UyYDhLX E4cqnSyD4ays2XEmZsl8yt7B1uevLqExbLJhmP1DEN3qnSRP/N7rgP14oCMGfpep+ymHKy FLRUE55pl0MiR5xO3kgld95RCm8kYGYA1akCdCukcAbbge+xrsncZgDk1M16lQ== 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 4Rs95k3T0pzx0C for ; Thu, 21 Sep 2023 22:28:10 +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 38LMSAbK078238 for ; Thu, 21 Sep 2023 22:28:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38LMSARK078237 for fs@FreeBSD.org; Thu, 21 Sep 2023 22:28:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 273663] zfsd crashes in the presence of pools with removed TLVs Date: Thu, 21 Sep 2023 22:28:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: crash, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: asomers@FreeBSD.org X-Bugzilla-Flags: mfc-stable13+ mfc-stable14+ mfc-stable12+ 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=3D273663 --- Comment #15 from commit-hook@FreeBSD.org --- A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Db2dff90c0be7c92a228fdbee5f69335dc= c8044fb commit b2dff90c0be7c92a228fdbee5f69335dcc8044fb Author: Alan Somers AuthorDate: 2023-09-12 01:20:39 +0000 Commit: Alan Somers CommitDate: 2023-09-21 22:26:29 +0000 Fix zfsd with the device_removal pool feature. Previously zfsd would crash in the presence of a pool with a top-level-vdev that had previously been removed. The crash happened because the configuration nvlist of such a TLV contains an empty ZPOOL_CONFIG_CHILDREN array, which led to a pop_front from an empty list, which has undefined behavior. The crash only happened in stable/14 and later, probably do to differences in libcxx, but the change should be MFCed anyway. PR: 273663 Reported by: Marek Zarychta Sponsored by: Axcient Reviewed by: mav Differential Revision: https://reviews.freebsd.org/D41818 (cherry picked from commit 0b294a386d34f6584848ed52407687df7ae59861) cddl/usr.sbin/zfsd/tests/zfsd_unittest.cc | 37 +++++++++++++++++++++++++++= ++++ cddl/usr.sbin/zfsd/vdev_iterator.cc | 5 +---- 2 files changed, 38 insertions(+), 4 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=