From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) (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 5818B18FC90 for ; Thu, 9 Jan 2025 17:52:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736445173; cv=none; b=LfSWftEPRihx6os4LF4ZUhHPkyr5eURifj8My+QWEoG1Jb5u7t/AFyiFoXZ+rLYue22pu5Fa25c9KRMEwPO8UneIAIBLES3GEH9W87hmgYjb5AF+jp4ZW43V7lpdIj6iH55ViEeTPf28YB+V0EUTs37nNGXGi9VQFspCIuqXdcI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736445173; c=relaxed/simple; bh=hV6ntCxHtwe0p3GppI0V6SDmeef+SzlgSu5HrahmXOI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hM8rX3EkrgI7eo1+2vqK1vwszXfHUzVF6sJNy6q+94TcDenlXwBNsQFf/mWHWhZ2VEQPLE7DXmHOQVKioVyHpO9LybFr/e25cXZ1ZxpAVsZDDj3U0Vokz43tExRs/kYDqsttagqS9mJQ3POSNmVHxyEYJtk1hjpsBsSRNcuQa3Q= 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=acDmjnVz; arc=none smtp.client-ip=209.85.214.182 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="acDmjnVz" Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-2163dc5155fso20576795ad.0 for ; Thu, 09 Jan 2025 09:52:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=purestorage.com; s=google2022; t=1736445170; x=1737049970; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=edcGY47e8cPbqahe+0FHCt/HWeFfo/bXgMWRn11rNNQ=; b=acDmjnVz+s7fyEveSCZ6U1JuyoMKnm8QDl3e5dUlmdFTOpCUUGbsRvo0O644BV64na 6PZFYvPk0oL5bnFIv17wvcGN0fQx2XDDOP31yJWI2eU5Y9ksksdSI5S8SMmgBmjOko7R ZinEy+WHj3kBHtnqvKUDmXBbSVt7mqRoPuS6jKg7DkVxVA0RAjiFZIjiA/ZCqwr4gB4q zm4hPkxb3ECjCJXNadvqRiTn9ZhixzFTNLaZc6vDXLWVi7gQGtBUR0zAArcka7TvZr8q pPf4Zh0QarT3NY0pxoM0LiXLdz5NW38wBzHNuH82m6EFQh7FyqpQpD9VJDam8ouG5Z05 yYLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736445170; x=1737049970; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=edcGY47e8cPbqahe+0FHCt/HWeFfo/bXgMWRn11rNNQ=; b=S+PM4Oe/Dw2n/EzjbQxOiDi+QcmRa2h76LnejUGMDM1V4S+rXli/N5IyIaHPzohXSh xThvSrdXqGIM0THzpL4vEsHvSP1D5yYwT3yYafBeTiTHzvhSHZBqkqpA1EPnDcT/ivpD ErGCGngCKEbLGlLmKq/BYN8EqTZlhdfFEsL6xK9ILDNgT95JmHm7wNXEhmCBXMYHFJgf tyx4YIonJgPiLqmb5rtx+tIwK1hE+H5A5XPtAX6xLjfijS7eUdU8ViGtZ/Jh2rWakvVv 8RxYmPj1V7q0rtPhWP0v5+WvD9Ch+Qitfci1wfHzANBATRYNG7ElA+oFLIzJ0zAulRZs u3Ow== X-Forwarded-Encrypted: i=1; AJvYcCV5VqWVstV+dBDfBGIQwMWttpOGoN/pTcG0uMaR1/AuPh2mRZhsj6wNd2Zjfd9NLxixzKn/wQOAr1zhtRQ=@vger.kernel.org X-Gm-Message-State: AOJu0YzhoxFozEzC5Wm3EYHdKPc40LtckQim1dPpkX3PXqAmN2nju9ZT L64vLF7JowpkFG+PXvksrjEqUBsRiG6g64BDZ8XgxxlJC5iz4VBzquqFrsYn+iM= X-Gm-Gg: ASbGncuf+2BKlnMryYOJJyBR3fW7hDE57WTHQZN4F7xJAJu4FP/DjwZ6PtqzfgydFcb BJ9tcPMcNjU8ouUeaUe7rRA5tmWUEbZ2ibxtSD3WTQ0zo+Au8iNatOsaUIblC6WO+4fbMixD6It kReDqvR8pckPfpXGjnudDhzn3WZuYBNgLzY/ym2ToL/dxDvEP9A79PV21X6ZTE00Ht822RDB9FJ 6dR2qwdBlQCCHZffHuEXv07OEWxVESkZ+kQVrW7vFo4jlGPQIUzHkIccpS2TPV4JEgRo/ZOKTFT gEMA7couqvypxFGxeEyeYmX7ZFSeK6bBdQ== X-Google-Smtp-Source: AGHT+IEyLberA5bJMwMV7NiZUYaqA+N47+cATPH86wKqmaY+O4bdxHRh3HPkxXgbE56402NYe9ZH6w== X-Received: by 2002:a05:6a20:c99a:b0:1e1:ae82:5657 with SMTP id adf61e73a8af0-1e88d0a945amr14140148637.34.1736445170370; Thu, 09 Jan 2025 09:52:50 -0800 (PST) Received: from medusa.lab.kspace.sh (c-24-7-117-60.hsd1.ca.comcast.net. [24.7.117.60]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-a318f276980sm1583675a12.33.2025.01.09.09.52.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jan 2025 09:52:49 -0800 (PST) Date: Thu, 9 Jan 2025 09:52:48 -0800 From: Mohamed Khalfella To: Ming Lei Cc: James Smart , Keith Busch , Jens Axboe , Christoph Hellwig , Sagi Grimberg , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, randyj@purestorage.com, jrani@purestorage.com Subject: Re: nvme-fc: Question about __nvme_fc_abort_outstanding_ios() Message-ID: <20250109175248.GA1452351-mkhalfella@purestorage.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On 2025-01-09 09:59:03 +0800, Ming Lei wrote: > > It is because many callbacks call blk_mq_complete_request() to complete > request, and the request may be completed remotely via IPI, that is why > blk_mq_tagset_wait_completed_request() is needed. > Thanks for the response. I know that requests can be completed asynchronously via IPI or softirq. This does not fully answer my question about in-flight requests though.