From patchwork Fri Apr 5 19:56:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josef Bacik X-Patchwork-Id: 13619368 Received: from mail-qv1-f48.google.com (mail-qv1-f48.google.com [209.85.219.48]) (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 116C6173347 for ; Fri, 5 Apr 2024 19:56:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712346986; cv=none; b=fqRFNemda2Hei5MCHhBiNZgzXY560ZXFO/zZfbUFSO7tF4zoS1VKb8fmsO9dFGrARxMrKL7OxrscsNPaTaaYRCLNpgj/uFd07ueZksbOV8UMEDIhoIoIxCuHaG+fgr3kC5jyiSdEv4vO5e9b3cpCbtHqfP3CRqnrcW87bouIbAE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712346986; c=relaxed/simple; bh=IftFNAyGMW0+PC4UaymkIiJKu1SRGfJ2M7zYBEQQiOM=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=GmH7r5tdamHtXPHAONPL1SKJPCqzMXXQolnlXs/nOBUcolJOpSorN2teHCFGnQspVD1U7AYS44M5RCk9UqzLsYZ52V7mfwFo+iEXHjioZAg0LamBv2SFk6znHR1CVArCckiXH9Z3dTeGq98LYeJd7cmBl9Z+aG6nNE9ktbLwI5k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=toxicpanda.com; spf=none smtp.mailfrom=toxicpanda.com; dkim=pass (2048-bit key) header.d=toxicpanda-com.20230601.gappssmtp.com header.i=@toxicpanda-com.20230601.gappssmtp.com header.b=LvduprAs; arc=none smtp.client-ip=209.85.219.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=toxicpanda.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=toxicpanda.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=toxicpanda-com.20230601.gappssmtp.com header.i=@toxicpanda-com.20230601.gappssmtp.com header.b="LvduprAs" Received: by mail-qv1-f48.google.com with SMTP id 6a1803df08f44-6962950c6bfso17104126d6.2 for ; Fri, 05 Apr 2024 12:56:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.20230601.gappssmtp.com; s=20230601; t=1712346983; x=1712951783; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=JDCIjcfLg5/A+ZSk8y5tQbAFPHorahyNXBBJAhi7Wtk=; b=LvduprAsB6e40uSX9dSMtQZzTeVoq+oXuTIBaKRnmz/Zpl6dqiehuiKRrzlcR9VyjT HClxRXAsssBx9NDGHtHjAoH/BHXEOqDihJxeiCKMd+h4S5ayKscaUz6uhMIeTcWl2F7P CdI+s/9CuN7axlIFl8p8P92IWd5tDRe3RiyW1eUlk7lyUw8mH8JMI/Xr3ZBIWTxy6401 OTU7QmGyvLdqKrcG/ABPWPTExBJGSkibtWT0rx/Zx+R6nY0z/2JZPy/B5U+EsW2TeR8i l7qwwgfG+6LAFkT3B8cXvRo8iINm8vqGRQ3Bq56Gvb3H5YlQebWkxPo4Y2hgeEbc4i9C P7iA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712346983; x=1712951783; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JDCIjcfLg5/A+ZSk8y5tQbAFPHorahyNXBBJAhi7Wtk=; b=cNp4GolqQefOo7v6TeQ8u8zEC63tM1PnxIRzdvVjXsiIaPh1ZesXifQjVMIlGXAVkt vj+2rPZS4GTvNN+G8uTnUFBDHE8wREQXkZtgQ5H+MoeaAnJlHTVXUwOGeHrJMZRWuq9w 2JJOS+X2MwTzMp7UN7482Xb6iuLnN89X2JDZbHPx1syqqhhfndw4W9Ige3fT5D8bkQtm AAsozgrBWJg6iVXIMKNHaykHXDlxK4gUEjod5pIPfXoDQSXw9eTyQQThvPLz8IsVYJ4Z /X4a0lzwUch0Zfxkmk3mF0xEomjj+tqUpkU1p4yyaVc18prdruoq+AUoobyOj6YpXGTJ CILA== X-Gm-Message-State: AOJu0YxYEbiNDMipB287e673OWJLnhLCoj3ZfZn9Jl4IP916Np6Q61S9 EvFeQ9Dchgac2iv3UBGXRlIX7u9sTMXhvO7tFR7c5FwRQavQXdXMaKKf6U8Ho6rVoFmDhpHIX8E n X-Google-Smtp-Source: AGHT+IFn8EGoGAx6UlDJiFtZmMVsPPatBp/kAQ3QgwLYF/mxCjpgwHtlmNbejCmRRXx6ZdN0n4QSRA== X-Received: by 2002:ad4:5d6c:0:b0:699:3025:566f with SMTP id fn12-20020ad45d6c000000b006993025566fmr3384305qvb.38.1712346982873; Fri, 05 Apr 2024 12:56:22 -0700 (PDT) Received: from localhost (076-182-020-124.res.spectrum.com. [76.182.20.124]) by smtp.gmail.com with ESMTPSA id f2-20020a0cf7c2000000b006991a92642esm876550qvo.138.2024.04.05.12.56.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 12:56:22 -0700 (PDT) From: Josef Bacik To: fstests@vger.kernel.org, linux-btrfs@vger.kernel.org, kernel-team@fb.com Subject: [PATCH v2 0/3] fstests: various RAID56 related fixes for btrfs Date: Fri, 5 Apr 2024 15:56:11 -0400 Message-ID: X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: fstests@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 v1: https://lore.kernel.org/linux-btrfs/cover.1710867187.git.josef@toxicpanda.com/ v1->v2: - Reworked the golden output of btrfs/197 and btrfs/198 to handle running some of the RAID profiles. - Added a new way to require RAID profiles in the tests, updated all the different tests. - Changed btrfs/197, btrfs/198, and btrfs/297 to skip any RAID profiles that aren't supported by our RAID profile settings. --- Original email --- Hello, While trying to get CI setup internally I noticed that we were sometimes failing raid56 tests even though I had specified BTRFS_PROFILE_CONFIGS without raid56 in them. This is because tests where we require raid56 to work only check to see if it's enabled by the kernel, not to check and see if we're configured to use it with our profile configs. One test needed to be updated to skip any configurations that weren't in our profile configs, and then a few tests didn't use the _require_btrfs_fs_feature raid56 check in the top of their test. This series fixes everything up and honors the user settings which makes my internal CI runs clean where we don't want to test raid56. Thanks, Josef Josef Bacik (3): fstests: change btrfs/197 and btrfs/198 golden output fstests: change how we test for supported raid configs fstests: update tests to skip unsupported raid profile types common/btrfs | 29 ++++++++++++++++++++++++----- tests/btrfs/125 | 2 +- tests/btrfs/148 | 3 ++- tests/btrfs/157 | 2 +- tests/btrfs/158 | 2 +- tests/btrfs/197 | 17 +++++++++++++---- tests/btrfs/197.out | 25 +------------------------ tests/btrfs/198 | 17 +++++++++++++---- tests/btrfs/198.out | 25 +------------------------ tests/btrfs/297 | 10 ++++++++++ 10 files changed, 67 insertions(+), 65 deletions(-)