Message ID | 20241127045403.3665299-11-david@fromorbit.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from mail-ot1-f43.google.com (mail-ot1-f43.google.com [209.85.210.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D79813C9D9 for <fstests@vger.kernel.org>; Wed, 27 Nov 2024 04:54:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732683252; cv=none; b=AJHJI0UQhXE1fIQ/1g741dvNR9aOCGdILwEgVSQqcOT6zlRLndnNg8lNBvxnAlaZaiIRVQM5zMbCdnr8f7GqxM6N2l+Ch8vLTdxpmEz5CgvVsc1Y4OXeOO+mVz9OR6J/mCHlUKDuaT4kppr1lgMYslpTFgoFY0dfeKvawVvjIMQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732683252; c=relaxed/simple; bh=KTI25EQFWJbOCEvtnqjR61YxGCSAt5F7+1DCcN5IaH8=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=G8CHMtw48DCG6lWP8Y8LqI3Rz5txRHGdunlrPP1Tibr9t3D98yrH4Pgzgsa+TE1t/udXoS0D7yypHKt0Aes54yyHeBTocGlXf6FLNjkNL6rkzdvgw2Z/959XBCHJ94lDdnITYDd98ubY/ObtWEdaeuNjnIFyfLlrQ6z7BU6KykE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fromorbit.com; spf=pass smtp.mailfrom=fromorbit.com; dkim=pass (2048-bit key) header.d=fromorbit-com.20230601.gappssmtp.com header.i=@fromorbit-com.20230601.gappssmtp.com header.b=t2m2hSyf; arc=none smtp.client-ip=209.85.210.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fromorbit.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fromorbit.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fromorbit-com.20230601.gappssmtp.com header.i=@fromorbit-com.20230601.gappssmtp.com header.b="t2m2hSyf" Received: by mail-ot1-f43.google.com with SMTP id 46e09a7af769-71d4e043dd9so1442711a34.1 for <fstests@vger.kernel.org>; Tue, 26 Nov 2024 20:54:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fromorbit-com.20230601.gappssmtp.com; s=20230601; t=1732683250; x=1733288050; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=LRi8p2vG65siHZi4g0d6yn8UFaizrYqtdSaScXwCU00=; b=t2m2hSyf5oX4DuIC4uoEUA2H2PlqJnofR54mUYQLGziHqiTzshHkaoW2k8h1Ffzj68 9jzsVyYTblcrex/9ooJIDIJCMHFY2NGK+i5o1EmatzN0jRJPpqyZptp8FeUlp+GTEcu1 T4BX1R5fqqW7wqmuLmlDSHc1s+UuvKUauAzlctXFrrnFHvFtl58bByzGcyCjTAJx9DfU 3BrUbuNtC2KBmlNVSfzI0IePz9tW1LimUekz1bB6YrENLN85N4a2G59/tXJ03xm4yD3e Zs3UdrDVqOU00otvjWKGT6wspwXuOuN9CiVM0vJZPsd/7EuX/OGsjX5QG6pxER1UV5uU XGaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732683250; x=1733288050; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LRi8p2vG65siHZi4g0d6yn8UFaizrYqtdSaScXwCU00=; b=YZOw3U4Y3SSN4EH3H7vRmTWkTbJAHGJ79OvYjYfrlVTzs5k/jnaVOgDSy/duJZa3tx b2y8px/pcnus0dSFabVAVfliZXc+kIcjJRt9nBcYe8SVjnzAkOMeHkGGeHcJZTtl6mFl 9mz39pNGkypEbB2DdIQQUkeG1cE2onIAQL3g4PhYV3aD6etf7CP3BegcrQ2D3QwNi6/Q hIkFQBefL8qQcmngkgdLZSaLxGOYDHDk3FZpEqxevjxA8YYUzkizRozkRW03R62fbC+4 KwGhKMPL2xJLOv4mdIP+w8jOgSssPogPxtBQZPGQJg2fOCuCLvxRjfHVkeIOQR/4AHoS RyMw== X-Gm-Message-State: AOJu0YzktxUYLOoAUMnLmhGsU7ioOTnzTHAlhBQvFNpJcvdLzqV/eyJg X3GRiSTk5tFnUa9d/W3/HFc1O3Sb8/yzjf2mik5LpYVolvzD0UjUtM4Hu3lvy+jhARp0X+91D9t F X-Gm-Gg: ASbGncs2XawFa/f8LF0C7HOz0IBB++BdDz8BY+XgMbSk8YHT2rRWK3Embp2D7LKo4oQ 0c0wtELVps7VFyk2bHo1FnBMTHMOobqmNbdDJzYb35lkEHBFUr6R8MxcbGDUGAk5NMwK9GAG7g5 b6XNoLqXAJ1f3JXhZgSln+a0E/I7d3xvSkl5nqV++pvq/lxxEyKvgygJw6chwU0WtkH9SZ79iXO UniW7Q8JcDtshQKImJwMkS7hC3L3sw95LDUBvkcvLxo3G2uZ/3nTxXsP9SjFdI+M7eiWr9pydgC +JkeMI6dy7tWPqFLNPy/S/Kb X-Google-Smtp-Source: AGHT+IHhD9ISIaquTIAqsav7Fd8jdTNsmdsLbq+UjAadfDWoX2SFPG5njJGcAqE2wEggp8CTXWnusA== X-Received: by 2002:a05:6830:4113:b0:718:1163:ef8f with SMTP id 46e09a7af769-71d65c7e396mr1462173a34.2.1732683250425; Tue, 26 Nov 2024 20:54:10 -0800 (PST) Received: from dread.disaster.area (pa49-180-121-96.pa.nsw.optusnet.com.au. [49.180.121.96]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7fbcc3e09acsm8171837a12.67.2024.11.26.20.54.07 for <fstests@vger.kernel.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2024 20:54:09 -0800 (PST) Received: from [192.168.253.23] (helo=devoid.disaster.area) by dread.disaster.area with esmtp (Exim 4.98) (envelope-from <dave@fromorbit.com>) id 1tGA3x-00000003ZUS-0GJQ for fstests@vger.kernel.org; Wed, 27 Nov 2024 15:54:05 +1100 Received: from dave by devoid.disaster.area with local (Exim 4.98) (envelope-from <dave@devoid.disaster.area>) id 1tGA3x-0000000FQeE-0kBl for fstests@vger.kernel.org; Wed, 27 Nov 2024 15:54:05 +1100 From: Dave Chinner <david@fromorbit.com> To: fstests@vger.kernel.org Subject: [PATCH 10/40] fstests: fix DM device creation/removal vs udev races Date: Wed, 27 Nov 2024 15:51:40 +1100 Message-ID: <20241127045403.3665299-11-david@fromorbit.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241127045403.3665299-1-david@fromorbit.com> References: <20241127045403.3665299-1-david@fromorbit.com> Precedence: bulk X-Mailing-List: fstests@vger.kernel.org List-Id: <fstests.vger.kernel.org> List-Subscribe: <mailto:fstests+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:fstests+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit |
Series |
fstests: concurrent test execution
|
expand
|
diff --git a/common/rc b/common/rc index 391370fd5..a601e2c80 100644 --- a/common/rc +++ b/common/rc @@ -5162,8 +5162,8 @@ _require_label_get_max() _dmsetup_remove() { $UDEV_SETTLE_PROG >/dev/null 2>&1 - $DMSETUP_PROG remove "$@" >>$seqres.full 2>&1 - $DMSETUP_PROG mknodes >/dev/null 2>&1 + $DMSETUP_PROG remove --retry "$@" >>$seqres.full 2>&1 + $UDEV_SETTLE_PROG >/dev/null 2>&1 } _dmsetup_create() @@ -5174,7 +5174,6 @@ _dmsetup_create() # device open won't also fail. $UDEV_SETTLE_PROG >/dev/null 2>&1 $DMSETUP_PROG create "$@" >>$seqres.full 2>&1 || return 1 - $DMSETUP_PROG mknodes >/dev/null 2>&1 $UDEV_SETTLE_PROG >/dev/null 2>&1 }