From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 35302C54E5D for ; Mon, 18 Mar 2024 09:39:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=cHI4Fbsyv4s/TL+dwOLd6KnCcwke45wlOjVFHWgJ2F8=; b=RQyKU30XFO1rcGn5myl2N3TU/j qelQucXJrTghJmtiCrilYWQ4SY6HDNyoVephtXd8xNNRPJ9WSVfSgutK1A71u30tG3jbKcM4eqcBn Ly21p8TjQ16IvGUeRmkcePulrO7gaD9biseD8tLN6vGhl6M/PuWCQlQvKSNttAhORv9/zkh+cf06E pzdKBCQ6zX5cxgUO0niJFKPbScF9kV1DuOG8xG50YwYv7c1omZCAGTZA5j9+yShnU89jgBP79Kxqd z3CgjF/hAOd8LbwDOlE11uyWq+I7zKLMjiczh7otkmBglZlAnHneu9keszFUpdKPIIAp97ly4JR+N /6FDnS3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rm9So-00000007xN2-1nIU; Mon, 18 Mar 2024 09:39:26 +0000 Received: from smtp-out1.suse.de ([195.135.223.130]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rm9SX-00000007xEC-1lMB for linux-nvme@lists.infradead.org; Mon, 18 Mar 2024 09:39:23 +0000 Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (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) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 8DB223487F; Mon, 18 Mar 2024 09:39:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1710754747; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cHI4Fbsyv4s/TL+dwOLd6KnCcwke45wlOjVFHWgJ2F8=; b=xiYgOH4mGYA9F9KrHQOvkcwgYSlJQNYlb2dT85ljR74d77MJkGlYr1zsOIs9AnKO4h4fhl us4KbCVk7cfpvGT4LiwtuQ0V+nGduhlas+KxOioSBeg4awQO7gisNBKsw1U+BYn1TKoviJ EyGPSy4jmHwwiub1dANswdfAhGBZ26s= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1710754747; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cHI4Fbsyv4s/TL+dwOLd6KnCcwke45wlOjVFHWgJ2F8=; b=0j2RX4bFMuB4nJnnfLzyDeAdp11bWBUkoXpstEoHxqvRL2E7ofBshKQQQtZDTAxAZkGxvC VPFweqmB4y0CjUAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1710754747; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cHI4Fbsyv4s/TL+dwOLd6KnCcwke45wlOjVFHWgJ2F8=; b=xiYgOH4mGYA9F9KrHQOvkcwgYSlJQNYlb2dT85ljR74d77MJkGlYr1zsOIs9AnKO4h4fhl us4KbCVk7cfpvGT4LiwtuQ0V+nGduhlas+KxOioSBeg4awQO7gisNBKsw1U+BYn1TKoviJ EyGPSy4jmHwwiub1dANswdfAhGBZ26s= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1710754747; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cHI4Fbsyv4s/TL+dwOLd6KnCcwke45wlOjVFHWgJ2F8=; b=0j2RX4bFMuB4nJnnfLzyDeAdp11bWBUkoXpstEoHxqvRL2E7ofBshKQQQtZDTAxAZkGxvC VPFweqmB4y0CjUAw== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (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) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 7D6211349D; Mon, 18 Mar 2024 09:39:07 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id p5wtHbsL+GW4UAAAD6G6ig (envelope-from ); Mon, 18 Mar 2024 09:39:07 +0000 From: Daniel Wagner To: Shin'ichiro Kawasaki Cc: linux-block@vger.kernel.org, linux-nvme@lists.infradead.org, Chaitanya Kulkarni , Hannes Reinecke , Daniel Wagner Subject: [RFC blktests v1 05/10] nvme/rc: connect subsys only support long options Date: Mon, 18 Mar 2024 10:38:50 +0100 Message-ID: <20240318093856.22307-6-dwagner@suse.de> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240318093856.22307-1-dwagner@suse.de> References: <20240318093856.22307-1-dwagner@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Authentication-Results: smtp-out1.suse.de; none X-Spamd-Result: default: False [-0.29 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_MISSING_CHARSET(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; REPLY(-4.00)[]; BROKEN_CONTENT_TYPE(1.50)[]; RCPT_COUNT_FIVE(0.00)[6]; NEURAL_HAM_LONG(-1.00)[-0.998]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-0.977]; MID_CONTAINS_FROM(1.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-0.00)[12.89%] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240318_023909_712611_E3143E54 X-CRM114-Status: UNSURE ( 9.30 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org There is no user for the short command line options, thus remove the short options to reduce the parsing overhead. Signed-off-by: Daniel Wagner --- tests/nvme/rc | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/tests/nvme/rc b/tests/nvme/rc index c8f13819ca21..c23f6fe09b6a 100644 --- a/tests/nvme/rc +++ b/tests/nvme/rc @@ -440,55 +440,55 @@ _nvme_connect_subsys() { while [[ $# -gt 0 ]]; do case $1 in - -a|--traddr) + --traddr) traddr="$2" shift 2 ;; - -w|--host-traddr) + --host-traddr) host_traddr="$2" shift 2 ;; - -s|--trsvcid) + --trsvcid) trsvcid="$2" shift 2 ;; - -n|--hostnqn) + --hostnqn) hostnqn="$2" shift 2 ;; - -I|--hostid) + --hostid) hostid="$2" shift 2 ;; - -S|--dhchap-secret) + --dhchap-secret) hostkey="$2" shift 2 ;; - -C|--dhchap-ctrl-secret) + --dhchap-ctrl-secret) ctrlkey="$2" shift 2 ;; - -i|--nr-io-queues) + --nr-io-queues) nr_io_queues="$2" shift 2 ;; - -W|--nr-write-queues) + --nr-write-queues) nr_write_queues="$2" shift 2 ;; - -P|--nr-poll-queues) + --nr-poll-queues) nr_poll_queues="$2" shift 2 ;; - -k|--keep-alive-tmo) + --keep-alive-tmo) keep_alive_tmo="$2" shift 2 ;; - -c|--reconnect-delay) + --reconnect-delay) reconnect_delay="$2" shift 2 ;; - -l|--ctrl-loss-tmo) + --ctrl-loss-tmo) ctrl_loss_tmo="$2" shift 2 ;; -- 2.44.0