Received: by 2002:a05:6a10:c7d3:0:0:0:0 with SMTP id h19csp233059pxy; Sat, 14 Aug 2021 05:38:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXu31s27NmPCxtk5jXUWM2nIjnc6J60WAd4U/ntMKgPxFAXtlzmCHUPTj5QhMTM9Wy9640 X-Received: by 2002:a05:6638:15:: with SMTP id z21mr6707335jao.25.1628944707138; Sat, 14 Aug 2021 05:38:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628944707; cv=none; d=google.com; s=arc-20160816; b=GmV3OoPOsmh1uemrn1cSoSsnIkGl1/LKHbZFr2VDn6lL4BzmPyNoIF+tAQeXdvKDcg h6uBmky81RsOtsrGFxefMRn/QKvXgKe680u9RS2gxyJF7E+BbEBHcklmHXUee9KbVoH3 Q3uGNUoki7GeU0R3ap4d9TSjaMcR23eFJuojgcEc7+HtYrFwKgaR/vTBpQSPr62lWDfP K3UHO06Va6CSfOilJakpHDlOChADMCQTRZpN6TQmdLqohKK7nO3D0VUbVE3jJi+z2a9k TRvq83HbRKYeufWsEN7pB7mKG1pGjxfwtgkk4obaGmtx02VwbY3ZhUcihmIt5GhlS1Lb 87SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-signature; bh=0mSLRG4xDh73yGpT5sZqSuFSCGEpnHG4QqeLtGAJFSk=; b=AUNhvGv2REvL4aVmnxmvpyzxtRet0R4tqsa+qTnIHYRSh3I3+UcCMgZo6GiGOmHaUq eD+mIb55W0fXYrrtviI74BvPKVzCzHgYgSO8PHKmAY+rkRL5nrQ8m1Sser8k3tbXFkof AzDnoT6F1n2zmHln+969xcmEHtZNM2BPSJLKn43hyv4DEovyQKkI5tH2tJWqIPOMVUmD LBdQvZDbHqm5wqcGkChvvampkchu9X8cfnrNkMP9QUg+yJZNIO4+jMdR7QpY46OoCQG8 fq1eSFZGa6ed/p2QCe0rVUfBrOszuX2C9CNOOUNnNvmYEGjhdOWv3glYDxU33HlOJxaa 5cPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=OJLfPIOl; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d17si4461783ilf.150.2021.08.14.05.37.48; Sat, 14 Aug 2021 05:38:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=OJLfPIOl; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231478AbhHNMfm (ORCPT + 99 others); Sat, 14 Aug 2021 08:35:42 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:55590 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229549AbhHNMfk (ORCPT ); Sat, 14 Aug 2021 08:35:40 -0400 Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 054E91FDA6; Sat, 14 Aug 2021 12:35:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1628944511; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0mSLRG4xDh73yGpT5sZqSuFSCGEpnHG4QqeLtGAJFSk=; b=OJLfPIOlAMT9RiExgo0tp08cwdLVDY69jfF957PcCwowIcmKgonUjPdmbkVFGkGX5h3bGr /OmboTwBT22nzRF/Mbb+ay+MDijm19u2cNKg93dN6u6tg8Iu8mGJ/yZM44UoFhtPChgXng D7+d1wuYDsAncWiR28MEqJ+lxo87HZE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1628944511; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0mSLRG4xDh73yGpT5sZqSuFSCGEpnHG4QqeLtGAJFSk=; b=q6zCyHElYT9TcjjFWV2mXyhGHAVUjHtrTMkSOWGxmRFnwYtC98ziQdSzdOik1dQBkAq4WB u77jn2RP7fev0ABA== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id AFA9C13733; Sat, 14 Aug 2021 12:35:10 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id tAvMKX64F2GDPQAAGKfGzw (envelope-from ); Sat, 14 Aug 2021 12:35:10 +0000 Subject: Re: [PATCH 2/3] scsi: fnic: Stop setting scsi_cmnd.tag To: Christoph Hellwig , Bart Van Assche Cc: John Garry , satishkh@cisco.com, sebaddel@cisco.com, kartilak@cisco.com, jejb@linux.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: <1628862553-179450-1-git-send-email-john.garry@huawei.com> <1628862553-179450-3-git-send-email-john.garry@huawei.com> <3e5d1bd4-cee9-7fd0-93a4-58d808e198f6@acm.org> <20210814073948.GA21536@lst.de> From: Hannes Reinecke Message-ID: Date: Sat, 14 Aug 2021 14:35:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210814073948.GA21536@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/14/21 9:39 AM, Christoph Hellwig wrote: > On Fri, Aug 13, 2021 at 08:17:45PM -0700, Bart Van Assche wrote: >> On 8/13/21 6:49 AM, John Garry wrote: >>> It is never read. Setting it and the request tag seems dodgy >>> anyway. >> >> This is done because there is code in the SCSI error handler that may >> allocate a SCSI command without allocating a tag. See also >> scsi_ioctl_reset(). > > Yes. Hannes had a great series to stop passing the pointless scsi_cmnd > to the reset methods. Hannes, any chance you coul look into > resurrecting that? > Sure. Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer