Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp563318rdb; Thu, 8 Feb 2024 14:08:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IFp1+kWfuxXIjYGlwhDxtdfMgNZH2oR/DjzHV8ss1BJcDi/FfvMDxHjWzZXtADrjHKmy4zb X-Received: by 2002:a05:6358:8aa:b0:179:2771:69b with SMTP id m42-20020a05635808aa00b001792771069bmr526335rwj.29.1707430096888; Thu, 08 Feb 2024 14:08:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707430096; cv=pass; d=google.com; s=arc-20160816; b=GfukKoOVJ/IGO20c0dwPL3ZWH3Mzb2suqtddNQNnzhUAm81eHqpM9nA4idPYQCQsfV ZrYKrN9fMmeE/ouSosNlZtWIP7SrNY2veQ1KNJ9PTP0MgZL7u6RzrOUYeYAvlMY1Rry/ yD5AFwhI7oEgxpFGjujK6aLdHJycr0bz8BDb2KbsTRpEwjvYDNxzC1q9tEQd6PNPOHxO axvWaeTeKdGGAIl1DgRMFJ7sQrloENzVcf/3VMf4ejpFqU/ZLAUAWXGtg+0eViuLzYu5 TTjE1o4iS/sB5Te4WioyroW2sH/ILc3yUMN9NR6fctZgTNvVjHJhGpnEWCRHccmcibX+ 5oMQ== 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:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=bdh/4cgXPNUH2YWkkAdjDAnkjiIAUCo57j5TMdJxynU=; fh=P8LrPFZ7VmVOsEJIb1Z8xi1Gu1cus2lVbbRkS6jeGnA=; b=y3bSETFTOYK/fpAOVmPfWLdlCflkZo7dP7M/sW7dD11xQx78ZPLCAAvz0xHdd+LZ26 QSIwnktAwMec4WhOGkX6Qj9yK+Hsf+Q4ZMZzJ9ZlnlJZ2qbODjQ1s3PeOWsPFQXbsqDB VyEvUmQNBmuBUuXuP3nrsf7Gh0oYDn7ipRwI7YRN2HJ3aFSaVdKFU4JumySk8GKmUxtj wjtjFg74CuGMRUTBIoPx8ef/0xgsuNnV64qGQS5xJrJ4c5j6Fj76cWUuDVmYlZTlc4IW 6uyr+z4zNj2A2HsmbfE6nBR2Z8A8X/w6ipHXPsQlDQs2fqBAdl4Beusk11eAMqeT0/x6 S55g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=rbCIFCFu; arc=pass (i=1 spf=pass spfdomain=efficios.com dkim=pass dkdomain=efficios.com dmarc=pass fromdomain=efficios.com); spf=pass (google.com: domain of linux-kernel+bounces-58759-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58759-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com X-Forwarded-Encrypted: i=2; AJvYcCVHMgoXz0rGcs9dWmDxTtGu6tYfxIVI2rjnRdiXyOn+viYhFEXVV+tNxpGJrqowK0VYboEUDx+ng9ADOXI/2Oefe0M28+28Cqb0Xn2iJA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id w30-20020a63af1e000000b005d475e3306csi540984pge.244.2024.02.08.14.08.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 14:08:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58759-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=rbCIFCFu; arc=pass (i=1 spf=pass spfdomain=efficios.com dkim=pass dkdomain=efficios.com dmarc=pass fromdomain=efficios.com); spf=pass (google.com: domain of linux-kernel+bounces-58759-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58759-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 859CC2862F3 for ; Thu, 8 Feb 2024 22:08:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ED32C5026F; Thu, 8 Feb 2024 22:07:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=efficios.com header.i=@efficios.com header.b="rbCIFCFu" Received: from smtpout.efficios.com (smtpout.efficios.com [167.114.26.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 80ED14F885; Thu, 8 Feb 2024 22:07:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=167.114.26.122 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707430064; cv=none; b=XEv5BDBxoDtXbczph15Z8B9ZsArbV+/DyNKdV4MmLyZsrLfnqwdMoVZMJwOHdzeKW0xOnsmNZPny9+L1xJl8c17eN9eDIBGpEk+MwMlqCcz7YQV8WVs77MTQ9Lqc92C+yWmSazlRr/bK4P2nEWCWzyTlQgXMzMy6/S5tjjMtDN0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707430064; c=relaxed/simple; bh=NW3Z6hWoXmRxqai8o12W5w34FTKrJ+lQKYdIy/TOHK8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=q0c20/gIpZ47rWaxahv6nkaNw9KxfJcBq7pRpM67SxhajLihjZwc33Hg5ABaqwXHxbztAfKQMSbF+6jMTjSA68UhHoV4z8SCfr5R86UObPMDfn9RJPAUWmNXjzYoAuuQsZwyCEB1qOkxYE2uYRDlN9u0MxQShuh1Om1jXWBYPjU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=efficios.com; spf=pass smtp.mailfrom=efficios.com; dkim=pass (2048-bit key) header.d=efficios.com header.i=@efficios.com header.b=rbCIFCFu; arc=none smtp.client-ip=167.114.26.122 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=efficios.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=efficios.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1707430061; bh=NW3Z6hWoXmRxqai8o12W5w34FTKrJ+lQKYdIy/TOHK8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=rbCIFCFuEu+qf9blIK4r/Hk4M/eWuJUQnvyKQPFhR6tti+9MNaffZX1E26cy+qfVP OKgfbZKXoSTyvTNK13AwpTTtkaPnqy9m3ivGK4aIOPtpIehn+aIXa+X1giYdGNaVii yOaeJrOZZNw6RT1zvi2fsVJWRgV7dmKVu0jKyfrJIcmbVhRkl3iXjBbwnUm1/IOEtk PjdeAkVoR76WmptchplrBqCBXmHlmTHfdahEhoWaMKS0qt7+ciGS+6IWIt2QtIO7w3 xlXhKeXPsJFcjBjaLduwGmgSGmLpBpGGMyZ1aZbfNoPvZ3FkRUzfQlpd/Bnf87QY4O Aid/FNQz02gBg== Received: from [172.16.0.134] (192-222-143-198.qc.cable.ebox.net [192.222.143.198]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4TWB1T2SC2zY9l; Thu, 8 Feb 2024 17:07:41 -0500 (EST) Message-ID: <15939d13-76d0-4a47-84c0-1b194530e145@efficios.com> Date: Thu, 8 Feb 2024 17:07:47 -0500 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 v4 03/12] dm: Treat alloc_dax() -EOPNOTSUPP failure as non-fatal Content-Language: en-US To: Dan Williams , Arnd Bergmann , Dave Chinner Cc: linux-kernel@vger.kernel.org, Andrew Morton , Linus Torvalds , Vishal Verma , Dave Jiang , Matthew Wilcox , Russell King , linux-arch@vger.kernel.org, linux-cxl@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-xfs@vger.kernel.org, dm-devel@lists.linux.dev, nvdimm@lists.linux.dev, linux-s390@vger.kernel.org, Alasdair Kergon , Mike Snitzer , Mikulas Patocka References: <20240208184913.484340-1-mathieu.desnoyers@efficios.com> <20240208184913.484340-4-mathieu.desnoyers@efficios.com> <65c548ea54127_afa429463@dwillia2-xfh.jf.intel.com.notmuch> From: Mathieu Desnoyers In-Reply-To: <65c548ea54127_afa429463@dwillia2-xfh.jf.intel.com.notmuch> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024-02-08 16:34, Dan Williams wrote: [...] > Similar feedback as the pmem change, lets not propagate the mistake that > alloc_dax() could return NULL, none of the callers of alloc_dax() > properly handled NULL and it was just luck that none of the use cases > tried to use alloc_dax() in the CONFIG_DAX=n case. Done. Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. https://www.efficios.com