From nobody Sun Dec 14 11:17:27 2025 Received: from mail-pf1-f228.google.com (mail-pf1-f228.google.com [209.85.210.228]) (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 C3CA22D7DE6 for ; Fri, 12 Dec 2025 17:17:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.228 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765559834; cv=none; b=bLyz+gVGkXmVqz6BFGmwKp9XPKGz12H73nqpXx9zlnnSJfpHtC2uniyhqNWav/QGRcf5VAg7ldFVKHsCbglgoDv0SL7ETKGZ3wE4I/SSLUcE/RKhfAmOuuVgkn+ooAOYsH6NKvydtzc7hhZLq54eqhMHX+MYPgPpPJCp2Ulpesw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765559834; c=relaxed/simple; bh=10p2JvkCz7yhrUBuz2Ld/a2/xjutHAlTWQJCwGsKMAE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mP5CNHTNlEB88XxGrRq2bJamht//TUfX7CBDBUnZDVNShxKpAmRkX3cJEJOz2iOVBhp2J3LfBQ0jmG6YC/7CY3D+0G8yHWAv1pCi5blbZpdSbB1qZaKxDrjbLBvo8ikDRCoBAJDqA7pkzLAEIc9reIyIk9is4kb1E03xuwYtmws= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=purestorage.com; spf=fail smtp.mailfrom=purestorage.com; dkim=pass (2048-bit key) header.d=purestorage.com header.i=@purestorage.com header.b=EhJnjFcl; arc=none smtp.client-ip=209.85.210.228 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=purestorage.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=purestorage.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=purestorage.com header.i=@purestorage.com header.b="EhJnjFcl" Received: by mail-pf1-f228.google.com with SMTP id d2e1a72fcca58-7baa5787440so140289b3a.0 for ; Fri, 12 Dec 2025 09:17:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=purestorage.com; s=google2022; t=1765559830; x=1766164630; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=t84ae89m7Sn7pboO/Zmlj4sDWg4NpM9693HZfHYO+4A=; b=EhJnjFclCHrZGPamfpV64lrtpMsmtHWIlt5vqsQjZRY6l89v3XBzsiiqftc619dW7W vYCFpaRKGfVEmib3Wc0ReXPAz+WxSEVcESQyGNmM06Yte7hH2UQHv0FBYN8R1J3JmWHH w+uDHNcl6Rfub+ocfXN+6n7A1VACpaa+oe8jNCNwvghstYRzKxzuXuHbMU0hfYqKwd2u 4luLyM0p2oeIH1HUivSOkydSyTks6u9Yg7Er1XtMevXPz3I5OfePgZFsXCrIDJ3QtT8n lvgCz6xyOqY6Rx2+HL9w1EXA4QZmCrIS9hIIIBrP7FT7rojAehrsmzFRiQhp1tHvX0DA rziw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765559830; x=1766164630; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=t84ae89m7Sn7pboO/Zmlj4sDWg4NpM9693HZfHYO+4A=; b=cKlLLPP4L4uuqHW5lg6FH8JG9cveZKnrHnP9uIl+69Aqasp9o1hJAF/kIm6ydvRoOq JgQFIU5hqMnAQrrYJ0JV7W0UKwDoiJQtQAjIdXAERgyzR13+zzyFgJ/VLoMbgFOCFZ6z biRjrEsGVyoxH0SdxaiYRklk2/nag7x8rQH31wbSPlmTwbd9wEko9B3jB03DBgWuVrL0 hMYf19Ks4g3wKpkcw+SYHO1chJUkG0o0N6hVHu+ikiaG/zXxJpDegoA7G05i0M2et2fs G0wDdlaxPlTlpfZcBiaJ8DqPTCkrlLuVFzIjwJ+TuedcV8xGacwYxm/8SgSSNRLJgsL1 6UEQ== X-Forwarded-Encrypted: i=1; AJvYcCW0Lw20niXXTR8+vrb9HE3cbVbXZuJA1zuqtdnNPmft9jKFaahLXq+ide6hqbd9EjXFaDU5sFRDS7LXFhY=@vger.kernel.org X-Gm-Message-State: AOJu0Yx4H7E/MOu3NgCifKitzIczJPHOwsfxhjFJkk4FywlTjMq8CLnq KLmsJ1dDQai5OQGdbnpZ9jQn9bAEAMoxI8CimSZkjVKyxYXbcYfnWfVobjf8mHnfDoAU86RXqV6 ITeuUkP6z2z/mBJVvKjgkXAIyhgfyA1cLENO7 X-Gm-Gg: AY/fxX6U2Fx/S2pznc9a8z1BY8UGyBLUir2kcqT77qUU4ikh4XmxeR0J+Sz0LocfsO3 /EpWlCstiCqKDjavbx8goeXIMeK3Uyv4kGcA33UsdR0pNq7DeJ2eiRoW14KBSY7ywWFJou/SzQC oN/ZmIdQot4kZbJ2sOLUEBrsAR4n1OZ+W+klBy1C015nD88NrZJZbqjxwJk263hEQC/eT2xFg/X Fw3W35RUqGkCsqfdxligz8BX+OlWtFcBsG5nAqps8p6sQeyUL+/oMiVQ8MOIiPh/wAszJJo+36g zsGUUwb8kpG/f8QpNmbVkvNv2awt+cmuoZSW6yOa8nG308kT5LXkw9aEsLlnIbMNbTgUH/1k2Gv kDfnNMyywJi/PvllFQ+81Gufo4pYl3NpxRMKPtLm2qg== X-Google-Smtp-Source: AGHT+IFD5gHVVNWG6BaOT7P35MqSA1ymiemgVdEAiw2PQWit2v+TxRzmrZWLm3GqNrYoDxOX0x77xoAqfsLx X-Received: by 2002:a05:6a00:3d10:b0:7a2:864b:9c8e with SMTP id d2e1a72fcca58-7f6694a97f3mr2099355b3a.3.1765559830496; Fri, 12 Dec 2025 09:17:10 -0800 (PST) Received: from c7-smtp-2023.dev.purestorage.com ([208.88.159.128]) by smtp-relay.gmail.com with ESMTPS id d2e1a72fcca58-7f4bf6beb28sm871869b3a.0.2025.12.12.09.17.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Dec 2025 09:17:10 -0800 (PST) X-Relaying-Domain: purestorage.com Received: from dev-csander.dev.purestorage.com (dev-csander.dev.purestorage.com [10.7.70.37]) by c7-smtp-2023.dev.purestorage.com (Postfix) with ESMTP id A452A3409F2; Fri, 12 Dec 2025 10:17:09 -0700 (MST) Received: by dev-csander.dev.purestorage.com (Postfix, from userid 1557716354) id A272EE4232B; Fri, 12 Dec 2025 10:17:09 -0700 (MST) From: Caleb Sander Mateos To: Ming Lei , Shuah Khan Cc: linux-block@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Caleb Sander Mateos Subject: [PATCH v3 5/9] selftests: ublk: use auto_zc for PER_IO_DAEMON tests in stress_04 Date: Fri, 12 Dec 2025 10:17:03 -0700 Message-ID: <20251212171707.1876250-6-csander@purestorage.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20251212171707.1876250-1-csander@purestorage.com> References: <20251212171707.1876250-1-csander@purestorage.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" stress_04 is described as "run IO and kill ublk server(zero copy)" but the --per_io_tasks tests cases don't use zero copy. Plus, one of the test cases is duplicated. Add --auto_zc to these test cases and --auto_zc_fallback to one of the duplicated ones. This matches the test cases in stress_03. Signed-off-by: Caleb Sander Mateos Reviewed-by: Ming Lei --- tools/testing/selftests/ublk/test_stress_04.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/testing/selftests/ublk/test_stress_04.sh b/tools/testing= /selftests/ublk/test_stress_04.sh index 3f901db4d09d..c0c926ce0539 100755 --- a/tools/testing/selftests/ublk/test_stress_04.sh +++ b/tools/testing/selftests/ublk/test_stress_04.sh @@ -38,14 +38,14 @@ if _have_feature "AUTO_BUF_REG"; then ublk_io_and_kill_daemon 256M -t stripe -q 4 --auto_zc --no_ublk_fixed_fd = "${UBLK_BACKFILES[1]}" "${UBLK_BACKFILES[2]}" & ublk_io_and_kill_daemon 8G -t null -q 4 -z --auto_zc --auto_zc_fallback & fi =20 if _have_feature "PER_IO_DAEMON"; then - ublk_io_and_kill_daemon 8G -t null -q 4 --nthreads 8 --per_io_tasks & - ublk_io_and_kill_daemon 256M -t loop -q 4 --nthreads 8 --per_io_tasks "${= UBLK_BACKFILES[0]}" & - ublk_io_and_kill_daemon 256M -t stripe -q 4 --nthreads 8 --per_io_tasks "= ${UBLK_BACKFILES[1]}" "${UBLK_BACKFILES[2]}" & - ublk_io_and_kill_daemon 8G -t null -q 4 --nthreads 8 --per_io_tasks & + ublk_io_and_kill_daemon 8G -t null -q 4 --auto_zc --nthreads 8 --per_io_t= asks & + ublk_io_and_kill_daemon 256M -t loop -q 4 --auto_zc --nthreads 8 --per_io= _tasks "${UBLK_BACKFILES[0]}" & + ublk_io_and_kill_daemon 256M -t stripe -q 4 --auto_zc --nthreads 8 --per_= io_tasks "${UBLK_BACKFILES[1]}" "${UBLK_BACKFILES[2]}" & + ublk_io_and_kill_daemon 8G -t null -q 4 -z --auto_zc --auto_zc_fallback -= -nthreads 8 --per_io_tasks & fi wait =20 _cleanup_test "stress" _show_result $TID $ERR_CODE --=20 2.45.2