From nobody Thu Jun 29 20:18: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 4QsVBd3646z4k0vV for ; Thu, 29 Jun 2023 20:18: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 4QsVBd24GVz3npW for ; Thu, 29 Jun 2023 20:18:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688069897; 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=maVsUrwlJLs6eVC9k0Crxb+QLawayhy8C/7+79xbY/M=; b=ZXkkHJTM0bDKY1JWqgmy0xlabvPOI8UwvbZYlSBQzpdtRIrpuyZAJrqfu/z9ndi3DVlzGl glN46ylveVMMEEBQqEB8lEAKiMtz+SYGOW/V46Y8yeNtX5yoUuAYGlCXNNcoOF5rHJfrek 4iLZvEHyKhOjRELglLQA+vO8OMGyx+zUJMfGeVMhej2Pjmr6DMpmwTtTEqpGgS84JUL8pF kPY0BoTpccbjXSz0enE/s9dQPLndQ7wF6+DwLGPI/LzvHuy1UBuor5tv4xnj7vvgSc/UnR QcgxWlvyaTLnupmewG3m8tkeUQ/PXokDsKTgLhZBnTZ1GJ8QTKTOq6EiitkaNg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688069897; a=rsa-sha256; cv=none; b=SI4+rtGpI5T+3FwPssdYgOjSgW2dgyF9gElGYV4M44BJBA5jeexuQDQWdqPSMrsC9zPqUq 0Lw1UzK4+Rg9naTgZ0lEPFpyK3w1SW2j582fheKY+NaIV0CWcuBlYdszJVlWHMYmMTxDDa yMoUBgnZMdTNPIZ6RdpDxOtiALkfH4roXU4Wpep0PsS3o6gJKikcEgJZN8PJ47wNFUVVaY fAfwBrh1FcZQG/XwCD5POhjIjmArkLHlTc+kRQfswWaxqgl0YMvIsSq9SgKA5k/XB8kmpu hT99gyTBIEzwq/6A2Mx9Dv3tofdPyzuHo3yyuZdzNCnLyjeKpLx7a1HSKX03CQ== 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 4QsVBd141qzW15 for ; Thu, 29 Jun 2023 20:18: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 35TKIHTP042543 for ; Thu, 29 Jun 2023 20:18:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35TKIHHh042542 for fs@FreeBSD.org; Thu, 29 Jun 2023 20:18:17 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 264234] "zpool get autotrim" displays propety as default regardless of value Date: Thu, 29 Jun 2023 20:18:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264234 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dd2a45e9e817ad68f3e163d13404744b8e= a9c675b commit d2a45e9e817ad68f3e163d13404744b8ea9c675b Author: Yuri Pankov AuthorDate: 2023-06-29 18:22:50 +0000 Commit: Yuri Pankov CommitDate: 2023-06-29 20:14:18 +0000 openzfs: use IN_BASE instead of IN_FREEBSD_BASE in spa.h Consistently use IN_BASE to allow libzfs to get the same default autotrim value as kernel does. Note that this does not change the default value itself, rather fixing the source of value and the value itself in e.g. zpool get output if it was not set explicitly. (And as a reminder, default value of autotrim on FreeBSD is 'on', despite what zpoolprops(7) says currently.) PR: 264234 Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D40075 sys/contrib/openzfs/include/sys/spa.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=