From owner-freebsd-bugs@freebsd.org Mon Aug 26 20:44:59 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A9A48E4E1C for ; Mon, 26 Aug 2019 20:44:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 46HPBz44vqz3Pq3 for ; Mon, 26 Aug 2019 20:44:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8A595E4E1B; Mon, 26 Aug 2019 20:44:59 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8A1D8E4E1A for ; Mon, 26 Aug 2019 20:44: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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46HPBz38DXz3Pq2 for ; Mon, 26 Aug 2019 20:44:59 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 49961BEB9 for ; Mon, 26 Aug 2019 20:44: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 x7QKixLN028341 for ; Mon, 26 Aug 2019 20:44:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x7QKixHK028340 for bugs@FreeBSD.org; Mon, 26 Aug 2019 20:44: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: bugs@FreeBSD.org Subject: [Bug 234576] hastd exits ungracefully Date: Mon, 26 Aug 2019 20:44:59 +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: 12.0-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: michael@esosoft.com 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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2019 20:44:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234576 Michael Tratz changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michael@esosoft.com --- Comment #6 from Michael Tratz --- I have the same issue with hastd exiting immediately since I upgraded to FreeBSD 11.3. I compared zfs sysctls with 11.2 and 11.3 and I found the culprit. All you have to do is set via sysctl or sysctl.conf: vfs.zfs.vdev.aggregation_limit=3D131072 In FreeBSD 11.3 and 12.x it was increased to 1MB. As soon as do that the pool imports without any problems using hastd. No patches needed. Hastd has been working stable for years for me and it seems= to continue using this setting. The FreeBSD revision which introduced this bug is: base r334844 Line 178 in sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c https://svnweb.freebsd.org/base/head/sys/cddl/contrib/opensolaris/uts/commo= n/fs/zfs/vdev_queue.c?r1=3D334844&r2=3D334843&pathrev=3D334844 On my spinning rust systems I don't see any speed difference for scrubs with the setting set to 128KB or 1MB. --=20 You are receiving this mail because: You are the assignee for the bug.=