From nobody Wed Dec 17 00:15:41 2025 Received: from mail-vs1-f99.google.com (mail-vs1-f99.google.com [209.85.217.99]) (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 828522AEF5 for ; Thu, 11 Dec 2025 05:16:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.217.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765430201; cv=none; b=nKK1AKvmejiuWhq+9W0QS9bE8io2zU0iULf+G77VFNOdafBAJytUkal4dYUKaF43VT/TLNMKqPRVf2HVAHel0WTsleTmIYe5TAU8spQefjTNJitqz722EjFaRjRh2M/Wi96GU5RKKG7c6iaIfSYSdHQ711/ohrRxODmGlQL3Ntc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765430201; c=relaxed/simple; bh=FKbZngLfGMe4F0ejdKJ0fZ6ILmuYiVZnIW21hOqoFMc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qIbDZxs8ZFXMj0caNyD4VAhWRHCswVU0KPyGzEY64jAlyYCz03QzhcPIvdbKsws0tV4mq1WCy+gqPBlVFOVqCwRR8iUIFrQX5GFswIbmC0S4goG3+HFhTislgLULa+G99ngHGtykxHK/b1yZZNlwVZBNm/VeVVWOy+fSA+dESKU= 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=PyfksFWC; arc=none smtp.client-ip=209.85.217.99 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="PyfksFWC" Received: by mail-vs1-f99.google.com with SMTP id ada2fe7eead31-5dfb3297151so31848137.0 for ; Wed, 10 Dec 2025 21:16:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=purestorage.com; s=google2022; t=1765430194; x=1766034994; 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=lYMmhxte6MTatk0mD4pdp1WR7i9P7+V+tQDFdQu1wO4=; b=PyfksFWCqbwVw34UP8Pi5hz2STwDa9VrLb75AWeKbRJ5NeoB4ZyZrX/pe0dqDpILOC 4BKAhD6Rln8ruAy8MhYXg4DyF/EFwjYkUJcO8QQjoJGHFu9YMHpbPBgCVsFY1ioHWidw ChKxdT5SL8eickZjAVEzcAVQ6HVJGMEYhIADESbCRNe+aw3yfILlevnP2k0b8QhTIxiw KkgAD0409hZ/gg/06wHLGJVAJNWF73I3XHleaGsi5RsMOyXlc3ZDov1bh8hM2l/IoiEc daxgkbWG8Mv59ons6/xS9gYLcL6W67CjmFOXrKY+iOcmdUzQ9GymQE8G3DvD5AlpTPMp kqMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765430194; x=1766034994; 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=lYMmhxte6MTatk0mD4pdp1WR7i9P7+V+tQDFdQu1wO4=; b=HjViILiUmQilwPMTTVIC0PIMqY/+SKGggrvBse0CRFXj8bWlv9eHA4Dzm5Jfa0yuT/ a4brXgJgIoai2QFowXKNJNWqcLtxcdbVar/lFnrDxQ+YUT0ah5ckTp8TBzNZmsA63k2y 6ubaNfnOdiiwCnbEqawhGK+yNNk+hxBORUDqItKxeSBRm6gvPxk2uopo/5kAtKnqVnXb 4jw3Gu6YY88Canq0PuFzqEExKFLk4T3I1Z5znS/IjCVOJbyX1sGMa+3egBoZif57F9ZI ZYXzj1ujoQadAbH9c1SpOzA74UgjIUrRfGqcF94FPp2Q198mnF8M4HUHzPJmrYm8ilA0 UKCA== X-Forwarded-Encrypted: i=1; AJvYcCXnDPa3tjsIt0UHpq1bOzyf8w0Gw6C2IilK+u2kDGqoTSGvcbDWU+6TNxg0o3zo7Dz8FU8brztPnywxpUU=@vger.kernel.org X-Gm-Message-State: AOJu0YzJWXmgwN/JsAW14eB1+gfkVOoO5boyem+wOir3ZgT5HNYaOjWH 8tnSHmhrHTgRbr5ghHCsdhDxxnBKS/8SWdTkr8mZBPtXVXNCdrncXQ0O9zI08UEPrubuUgQKRm5 XHQSlpGWxItV4MWYYQgmnyAY4dmvA1sDSq3xk X-Gm-Gg: AY/fxX4zfocmCB7uRg5hU2PQLOjMw7dxqoaOR5s1q3mKPQ6rhOz3CK8Ihjj88Md0AHo TWryv2NV1N2wYiwmDFhxBLQ3X6nop8nHiOgzj9VkvFdBeSjHqoXaJpQL0Cwb4B4hn1rJW0Y2UCl zCHBL4hVgakS79hxDPb40ULVQivf54B7HN1F2eTGCknBo/QkjfTCxWVUYa+cV/DWJRfmSIhUHxf qZXISZNKm5VUeQtycilP+ab3T010/iEHcId2x0VW4K2v8c1b0zKrmJyM7n7xLfRVcEst4nVbYb7 F8VmqLUFJFfQz+QGqiWcx4N+V1yazRqvnHLuWWzrxF+O6DbtssX47qMixXRJwXYfDQaue7WuyOR Ss0Yv/TKymTpHzHlJNQ21f4jIUhfNjr4fGyX0pbI/3w== X-Google-Smtp-Source: AGHT+IH8wHkl6849aTSVx4QBElkuCxFtShXY/UySGgPZAopPw0H4GLbBbyJqdZsPQRlK5nTLNG77Q2JCbfO0 X-Received: by 2002:a05:6102:644a:b0:5db:25d3:28b4 with SMTP id ada2fe7eead31-5e7d0e28186mr197796137.5.1765430193704; Wed, 10 Dec 2025 21:16:33 -0800 (PST) Received: from c7-smtp-2023.dev.purestorage.com ([208.88.159.128]) by smtp-relay.gmail.com with ESMTPS id ada2fe7eead31-5e7db2613afsm151339137.4.2025.12.10.21.16.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Dec 2025 21:16:33 -0800 (PST) X-Relaying-Domain: purestorage.com Received: from dev-csander.dev.purestorage.com (unknown [IPv6:2620:125:9007:640:ffff::1199]) by c7-smtp-2023.dev.purestorage.com (Postfix) with ESMTP id 42E6F341DDC; Wed, 10 Dec 2025 22:16:32 -0700 (MST) Received: by dev-csander.dev.purestorage.com (Postfix, from userid 1557716354) id 3E0A7E41888; Wed, 10 Dec 2025 22:16:32 -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 4/8] selftests: ublk: use auto_zc for PER_IO_DAEMON tests in stress_04 Date: Wed, 10 Dec 2025 22:15:59 -0700 Message-ID: <20251211051603.1154841-5-csander@purestorage.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20251211051603.1154841-1-csander@purestorage.com> References: <20251211051603.1154841-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 --- 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..965befcee830 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 --auto_zc --auto_zc_fallback --nt= hreads 8 --per_io_tasks & fi wait =20 _cleanup_test "stress" _show_result $TID $ERR_CODE --=20 2.45.2