From nobody Fri Oct 07 18:59:09 2022 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 4Mkczg1JdXz4ddK9 for ; Fri, 7 Oct 2022 18:59:11 +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 4Mkczg0JkDz3RvL for ; Fri, 7 Oct 2022 18:59:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4Mkczf6P0FzhbM for ; Fri, 7 Oct 2022 18:59: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 297IxApT083385 for ; Fri, 7 Oct 2022 18:59:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 297IxAgA083384 for fs@FreeBSD.org; Fri, 7 Oct 2022 18:59:10 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 266236] ZFS NFS : .zfs/snapshot : Stale file handle Date: Fri, 07 Oct 2022 18:59:09 +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.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bane.ivosev@pmf.uns.ac.rs 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665169151; 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=jgH2pwK0FJtRZtx/H1PBPbkdNjmp7o+Q61xaejLuh8Q=; b=OavIdHrXm+ap4d3sI7wyPVmJd48tpodqI8Nd0uZm0j/3u/w+7uPSTQTaOFjWmyN06G9qef ERb3ru+rtxoZgvO+PTzQNYBwTOK/VZEZZE2YhVezPXn0BXJ5zn/YMup3fq+vBQg6ewbx8e t/5CzQcxNozP2fNH6HClCr5iX00m8J0QL4oOSbtiwJzAVyiFVs7/IEuN3qzHcaYai27eXX Kd0CGUhfCJE2/MsOyKAyay37MVrIPVfwq9p2oV7a0Iz2gBIYeQmqk4ZvFK/bk3byAhw8kK LDbulAYy280aACiJ8ZDQlBx1YE8iDXARB8uL7sIvqVcqzMQI3yNJRw5vqmqKkg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665169151; a=rsa-sha256; cv=none; b=lWw+aIJKTTWqulcvDl9CMaCN1dw7kYfMSMGY5FskBQO4THOQxP4phn7CHqb2MVuLdZSRfK tiu6OSFL1sQa5RY8LBTd7Wd7XMvkwdllDf2GJjSv5V5omyx254l/AMxFvk0dPYhu5VX3TU dY5pWU8/Lfm8yaKcgyxr8iAFtFjfocGvVBYNMNb+ytsl/oWWHcbHp8T6volIvkShpSM7GP O2IOON904NmO65o+BVIOFutIUmLMKh0Jt2WBLgSVWkaLYoLzRYg/XqdhYC/6BAF0BhiCKe Zap1WUQc2WIW8TkS8pbMcFPpBZ3GBH/YuRjJYyGaCVX+b08Aigf5aRvrDwPp4A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266236 --- Comment #24 from Bane Ivosev --- I run tests in VMs, 13.1-RELEASE-p2 source, applied patch - if (fidp->fid_len =3D=3D LONG_FID_LEN && (fid_gen > 1 || setgen != =3D 0)) { + if (fidp->fid_len =3D=3D LONG_FID_LEN && setgen !=3D 0) { + ZFS_EXIT(zfsvfs); make kernel, and then nfs mount from 12/13 client and ls .zfs/snapshot/snap= 1. Everything is working normal, no more stale file handle and freeze at the server side. Thanks Mark! --=20 You are receiving this mail because: You are the assignee for the bug.=