From nobody Wed Mar 02 21:57:20 2022 X-Original-To: dev-commits-src-branches@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 5F5E119E0736; Wed, 2 Mar 2022 21:57:23 +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 4K87JK4NJ2z3KX7; Wed, 2 Mar 2022 21:57:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646258241; 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=KbqQNj1+nWZkk3zdqKNnjxqsEqXVy7icBRtdBacC7sw=; b=aYCBfBR2CV+sSnfrVqffUcElwY3htLypZYJ2w+18fEj3d5og5olfsUmvuOU2UaUn8DnsZV oUMvAEnuirvvGp+nGzkxPw10aRT5dIpDfzuSSpbyY1YizJDizQYT02gTmg0e7qyzXYJ+ZL W5JA0XheIBzlex1Mtr3kxdXhBWMD6lIOzL6OX9rP3CFDQvC87fAu1nmq7kTaVA0WQtkBO2 yyOUm5swaTRjsC6ozE2fZa4O4ZePuUhMNCVd7k7SRfdf4pwbz8ZbT10qZM1kx99alRDjne IbjsMDjtuFlCaGJl/lOXvWvlbhsT4sTLThVz3LoOd2SXdl3eymSxGV6RReiytQ== 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 7C1703A8A; Wed, 2 Mar 2022 21:57:20 +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 222LvKO1065090; Wed, 2 Mar 2022 21:57:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 222LvKwn065089; Wed, 2 Mar 2022 21:57:20 GMT (envelope-from git) Date: Wed, 2 Mar 2022 21:57:20 GMT Message-Id: <202203022157.222LvKwn065089@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Eric van Gyzen Subject: git: 656de74c635f - stable/13 - aio_md_test: label the md List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vangyzen X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 656de74c635f83880aa70490d95b0a304e582d48 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646258241; 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=KbqQNj1+nWZkk3zdqKNnjxqsEqXVy7icBRtdBacC7sw=; b=uClwPmFK01Qb+IWIRBSXqdLknDwWmL+bUGrRbgIvx2Noc2t+Q/KqBsA3cLtrzqrW10LKoY izR8YEhWJiMdkWtO7NCp1DPoIg66tWaImjVfggixrQJ66fh8TJIZe1wiA+MtVcvSXF0zNZ pDL/ymuNFxJJ3u8Az3OjVQU4V7QcaJdEdDijf+E2uv2Fv2/gEfOyb6WLn3cleMXa/lJhVn AcclQuLBMPXRYViliVVzZNXvkoWtM/lluY3u7buk4hN18BLV00OQvDV4GOYpzJlI5Bpl/O 11iC4C3ie5gCnYMssb1mB3pndKDDRKPKuoV/xMcAiCiXb6WHjBNJxvw9RSaVIw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646258241; a=rsa-sha256; cv=none; b=Z2uD0tn1aIyFO8vs02tC6Uk+HMt7WsEeDVOe2hfqQ5GZLSEF9Sp8Lrl4FXULQsu9ueu915 PUCJA52UaHb4DA0riwC9FUveP25LCS511ABqpTCUUYvbQ5P4csdbjamSFAmYZvkRGT8PKO zW93E6uSZuwkliOmfNc5sY7S94GuvYlE5Qmted+S/xniIwSpC4LdV2Y/NgVxkVjEw1MdBV eQKHNRoJ4S+3prtazngbbV3qMJeTm1K8cZWl0HQ8igqkOmUv7OWizQgcRtfSRV1X/YjUd0 WX3VRfcWezKXYVWj8OP7uzih/1xNlW1IgJQbwQsdtOk8RqEnLWeI5P74rJ3JrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by vangyzen: URL: https://cgit.FreeBSD.org/src/commit/?id=656de74c635f83880aa70490d95b0a304e582d48 commit 656de74c635f83880aa70490d95b0a304e582d48 Author: Eric van Gyzen AuthorDate: 2021-07-23 13:57:44 +0000 Commit: Eric van Gyzen CommitDate: 2022-03-02 21:56:30 +0000 aio_md_test: label the md Add a label to md devices created by this test. The next time this test leaks md devices, finding the culprit will be much easier. Thanks to: sobomax, for adding labels in r322969 MFC after: 1 week Sponsored by: Dell EMC Isilon (cherry picked from commit 9666cda9764a1d19cbf967940508dc6d2020cbfb) --- tests/sys/aio/aio_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/sys/aio/aio_test.c b/tests/sys/aio/aio_test.c index 0f929c510e9f..d6fb3d2f58d9 100644 --- a/tests/sys/aio/aio_test.c +++ b/tests/sys/aio/aio_test.c @@ -734,6 +734,8 @@ aio_md_setup(void) mdio.md_options = MD_AUTOUNIT | MD_COMPRESS; mdio.md_mediasize = GLOBAL_MAX; mdio.md_sectorsize = 512; + strlcpy(buf, __func__, sizeof(buf)); + mdio.md_label = buf; if (ioctl(mdctl_fd, MDIOCATTACH, &mdio) < 0) { error = errno;