Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp30802lqe; Tue, 9 Apr 2024 13:26:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVDIFa9M7Ku0O5lt1B8U8LDRixKIEhPRM6JiBIp2jhPkHfUvBKV7Gfa/7723pRJYp4+oexReOzF01wwzvBgDEDeu7Jn/lna2SdBA6XavA== X-Google-Smtp-Source: AGHT+IE7UOcpzFDT81mEDtycd+pW9BqWZxQWfC/BRQMY+lFRUkzGV8llGb2xw2Htx/jRcvbewVrL X-Received: by 2002:a17:90a:7286:b0:2a5:1fcf:efab with SMTP id e6-20020a17090a728600b002a51fcfefabmr687975pjg.27.1712694379663; Tue, 09 Apr 2024 13:26:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712694379; cv=pass; d=google.com; s=arc-20160816; b=kF4/7Uqy7JBDclwijkjbB5JViWsqyNC795yYECl+yBO/rGlO+RfusxhB2uRRBKjZgg dCBjpBZ4vmca2PFjvH6CA2TetJxHvlU+cnv40L+JFs4FRGx0l/mvQ/3tGVVQiaB4Dh6G ajXX48S3TJoRA0BrOlgiRXwSaFNHqxSkIYVemB+aJsvHsmmDoDFEfZwT+2hkP8vJGWkQ 2pjhnwihO9scCOuBnhlVPA+h6Mjvz3+OILExQZ2XVGJYy6NbILUgqBifcrO1tChpweiR QOF/zezXK1xBd1YUGzQrI3rFqgyO4dugnmkOreJCUWjA/wy1laTWrkAglrnGoa+loQn+ L7nw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=GsSOOBo7BskdQReYphJ+zB1eNZZh6oDLqHlP86aPuOU=; fh=o+2UJKCMQz+NumenXGBfM3qQ+TQNk67QpXlCf94DLV0=; b=qyZWa2Kl+BDSuPCOyUqWUhlPxqGKqJj5ambMDK9bwEoqRdJc4gknMdDMwVXL3wPbIf eYCfOP9gZV0VfXLZst/epbzfEgyP0xksu48tD2QaO4eJ1q7OQfKBdBik00byHL6XMP2C nsjuajUSof+B6auRh8aeaFUxGY6LDehdlySCIpSC+rpSGahFkXxvqwJ6vfXvJkBQz97j p4/myR7rqTgsrR9znzgDq3VmzYangTj+CnbpIYhGoYPUQYAcYHl0y2DpQydVYePQR/TA M1NHw/QOpB/iggaTskEO0iLuoQbv4XTJdGPXo3tlj4LlU+3c4jjE1GpVK+jZfhDrDRYE 9UQQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-137591-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137591-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id h2-20020a17090acf0200b002a2adfc6206si9256831pju.171.2024.04.09.13.26.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 13:26:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137591-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-137591-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137591-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id E1778B22644 for ; Tue, 9 Apr 2024 20:26:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4269415820F; Tue, 9 Apr 2024 20:26:06 +0000 (UTC) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (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 4D5A88562A for ; Tue, 9 Apr 2024 20:26:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712694365; cv=none; b=PG2DxjpLkulwc1NRUnBArqNpZCFTCNux/2akICbVMbfQ2Q9hesiJLaznLDlKP5pdHSjvT7lASwRhmC3y35mpe7AHBhUOMROBLeXxqBdywZazgviVkpoem6YT6Eqpj3fzMoKP6+XZ8P9//F28285LiG5p/Mb3y1C9RIeQpyjRhQI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712694365; c=relaxed/simple; bh=GsSOOBo7BskdQReYphJ+zB1eNZZh6oDLqHlP86aPuOU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=T60eLwFPFr8J3i0qIeNluvX+H8pOVxTtdAiJIELJlOqJ29a7EWdcDtglksSbO6OMbU9jvtK7jLkBim4V3UutS87s5whgR2w5yxyXcvlFeaSU6hzdzGRWMOdHKOL84M71jvEqKYrMgVu6OVlyaY+q1Isk+Ky0cbP5QQj1mWxDiPU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=grimberg.me; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.221.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=grimberg.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-346407b8c9aso293230f8f.0 for ; Tue, 09 Apr 2024 13:26:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712694363; x=1713299163; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GsSOOBo7BskdQReYphJ+zB1eNZZh6oDLqHlP86aPuOU=; b=UGpwuq7RXjgfDgsGbEeftuEWz3TqcEesZN1pjrI6HD64SWweG51JN2XkT+DggG135L ftM4SsaU9+/C5zyT9mzeFlgfX8kkDZE3y3SWJobm9FsAFEVArzI24JmAmkOt+NrjSZvy Tm7/JdCNvtbYqUFcRbKr7i4K2ni+g7xuvH3xH/WTYMn7oZtgWZ10Jpc9o8cjxVzsRZZi qGJYAwrTt+jWd8T262mA+16SitkCdLgXnOpPpCHrUysbjrDBcd1Ki1BOrNmFp4IMm2zS lM8J/+9CO8GgGbACRhUKvSMvCMza9OkImZ8HVouxy8FsWMc18YhT5UV2Bj2qZrFgg+mf BqZg== X-Forwarded-Encrypted: i=1; AJvYcCX3fAztr8ZfLaxGwTQucI3PTx7dr4IEBASihFb7H7RDaVtIFSBbrn0xjwvc81urpu4Q5Z7D+20NmTW71WMqNIqEEj9NKbw684TnTJFu X-Gm-Message-State: AOJu0YziEjxcJbdcJ20m2AFGRJW3vaJ1QpRp8L3raW2MHHfxA1QAB8rl F4QRd9Vs9YeZIJRheN9ntQPnJzf2+zEqYQ/rbJVAWDKBueWhXNxOLtzdr64B X-Received: by 2002:a5d:4a4e:0:b0:343:c3b0:ee39 with SMTP id v14-20020a5d4a4e000000b00343c3b0ee39mr444775wrs.5.1712694362397; Tue, 09 Apr 2024 13:26:02 -0700 (PDT) Received: from [10.100.102.74] (85.65.192.64.dynamic.barak-online.net. [85.65.192.64]) by smtp.gmail.com with ESMTPSA id z13-20020a056000110d00b0034174875850sm12329296wrw.70.2024.04.09.13.26.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Apr 2024 13:26:02 -0700 (PDT) Message-ID: Date: Tue, 9 Apr 2024 23:26:00 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 1/6] nvme: authentication error are always non-retryable To: Daniel Wagner , Christoph Hellwig Cc: Keith Busch , James Smart , Hannes Reinecke , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240409093510.12321-1-dwagner@suse.de> <20240409093510.12321-2-dwagner@suse.de> Content-Language: he-IL, en-US From: Sagi Grimberg In-Reply-To: <20240409093510.12321-2-dwagner@suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 09/04/2024 12:35, Daniel Wagner wrote: > From: Hannes Reinecke > > Any authentication errors which are generated internally are always > non-retryable, so use negative error codes to ensure they are not > retried. The patch title says that any authentication error is not retryable, and the patch body says "authentication errors which are generated locally are non-retryable" so which one is it?