From nobody Wed Jan 25 01:25:58 2023 X-Original-To: dev-commits-src-all@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 4P1mPg13Pyz3b8cj for ; Wed, 25 Jan 2023 01:25:59 +0000 (UTC) (envelope-from git@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 4P1mPg0QwMz3rwR; Wed, 25 Jan 2023 01:25:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674609959; 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=MPUXSUH+9uoqPYxBflsryC+seJ256JmwDncx7bdNhJA=; b=RSU5g8uxC0MkhDmSu2nYSu+aTFFSH6pK31/WjJH201k7unioo63qvk8lupZQLljN82ajel Ev9tArg0JK8KuR3a8ylSJDCPkSfhIXmUZLPkcDqoDPZVk1t4SUbcqZVkbFNE/izU5723zy gueZuEHqcZzjOnRqDlPGZlHkploZHkB12zF1nmU3vuLwBSAx+iovXkX9R9d9NylIyD1miC 0U8o9wncs6Aj3LbPnRuHl3p3t0qKSe2d/wVwuvFgvC3EisJeQQxrYU3vQprsgDPYWGY0d2 rSIGy9l4uNfMDnCyrSOS3RN66STSMKAweZRemLcaC/9T09qYovWiq/ln8uB0SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674609959; 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=MPUXSUH+9uoqPYxBflsryC+seJ256JmwDncx7bdNhJA=; b=DRd+RU/yOtIDy/4bz+PgYnzoq0F+xdQE3TSA+YEAje3U5jK828s/LDrfZwybBvKsgfe1Mq kq36wZ4Izm97FRCsADZgse/vJ/sZHSO8kugY/0s/9WmI4HUW5tCr9lcMiOzF6Ed7Lsf3OF w8atsUA2Yd8rDeRytI0By1GoVECgBWicvWBQEN56+ubKxdtLxtiFl0xRh3V5a9wfPDlCGJ e9gS1QFWdKUhTCLp9Ecot5f+bHDhhsxYwj8gr3Ep5ovxa3KYsAees5fGxGo/bhwxOhedd+ LHSjJdM61GOIpMaSAlZH3Eyna286qGFKc1fNE6AULy9HkwnAx3DWWO4pWkqVZw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674609959; a=rsa-sha256; cv=none; b=MzRkaqyv4SA5prYByuEIYawyv1NXDCJyqThq+2IY9DYtbaMEPi4KBkAqXYrMsGDmcCkuJD G9KlqAvQTPyxcSPIYyt0baDg9NLzQPzQbw2j1/cT9lJ6joV9PJQcu44qZG/y6WvvKlshKw qKjJ0FCN6oM9v0Ga2OLzw1HvqnGOt2h9SuEWHCRPEyi00qOMfTjbkpms0SyD4QDLilso9B eopnS98q2FYeDLMJKeOT3mtkrsgK/eFlga3xMlOJhCgLyTdJTH+Jt4hLfi1IXD4xY5f7eK utla2bkeprc+9Y/X5Mfg78buPXVUXpieePA4X56OWksC0nUmydYPszvwcqrfDA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4P1mPf6WhKzWHC; Wed, 25 Jan 2023 01:25:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30P1PwsW064873; Wed, 25 Jan 2023 01:25:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30P1PwCQ064872; Wed, 25 Jan 2023 01:25:58 GMT (envelope-from git) Date: Wed, 25 Jan 2023 01:25:58 GMT Message-Id: <202301250125.30P1PwCQ064872@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org From: Allan Jude Subject: git: 45a1044a53a1 - Create tag zfs-0.5.2 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: allanjude X-Git-Repository: src X-Git-Refname: refs/tags/zfs-0.5.2 X-Git-Reftype: annotated tag X-Git-Commit: 45a1044a53a1d61a65fa1f96d8c79127f404992d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The annotated tag zfs-0.5.2 has been created by allanjude: URL: https://cgit.FreeBSD.org/src/tag/?h=zfs-0.5.2 tag zfs-0.5.2 Tagger: Brian Behlendorf TaggerDate: 2010-11-12 21:57:17 +0000 ZFS Version 0.5.2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkzduD0ACgkQCrnpkcavZYsC4QCfQkan1399tvn6qqRtJ9q9RTSp 63IAoNleFR15qrTtMLxWWu3UQnHdXQS9 =U6HP -----END PGP SIGNATURE----- commit 5e7affae52365f9f329cc63a53ae570352c4d993 Author: Brian Behlendorf AuthorDate: 2010-11-12 17:33:17 +0000 Commit: Brian Behlendorf CommitDate: 2010-11-12 17:33:17 +0000 Skip /dev/hpet during 'zpool import' If libblkid does not contain ZFS support, then 'zpool import' will scan all block devices in /dev/ to determine which ones are components of a ZFS filesystem. It does this by opening all the devices and stat'ing them to determine which ones are block devices. If the device turns out not to be a block device it is skipped. Usually, this whole process is pretty harmless (although slow). But there are certain devices in /dev/ which must be handled in a very specific way or your system may crash. For example, if /dev/watchdog is simply opened the watchdog timer will be started and your system will panic when the timer expires. It turns out the /dev/hpet causes similiar problems although only when accessed under a virtual machine. For some reason accessing /dev/hpet causes qemu to crash. To address this issue this commit adds /dev/hpet to the device blacklist, it will be skipped solely based on its name.