Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2870296rdb; Mon, 12 Feb 2024 22:26:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVgZJyVJUW6ICt0mgotAyRBq5/1rvrumeHkOPUdYfAeQEmddJsxUQmlJpnQNLP459ZhOAPl/g8jcfcoRmgYP2ASK4u41ME8Mr/q3PaWQw== X-Google-Smtp-Source: AGHT+IHfpd7QeTrpczz175VLPbvn8+AbQgQF6AYRHLTIWfBxDSq1gf89+Edb3qM+6IsYuBG4TXAt X-Received: by 2002:a05:6358:5991:b0:178:de46:783c with SMTP id c17-20020a056358599100b00178de46783cmr15981105rwf.16.1707805581736; Mon, 12 Feb 2024 22:26:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707805581; cv=pass; d=google.com; s=arc-20160816; b=KU6IajIk4KOeURDSXq9k5pwHsvTlD8TzxK7bG/j+BZ1u8OlJrgb2jKhtzqXiSA4Hko HZLIpDBzcrjQsWNPxDvc81EbKPr2RjUtT6e+WzOlgGhpn24IIWD+ioA9eYpl2MNzyEsd pJoRsmkudX+wBDmf/wCF1aKcNOIRetjNvsxt3tc4A2HH+8bnKBG4U3p42ObS9R85B0wU 7NFoiIsKsqL9ExLSFmE2GJ5IjErI6150VmhM5JkssrVXZ0fWg7zGgDnp32ZM7g0HuTKZ 5RwMJhFsj/gsL2gpMVo9EwW/drta7lS3SZMxl25E4TNBFXPxYV5pnqBzoKX33oSpalQH pRzQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=NQZ9iH0cLPAKonqGtWTQ/zKq+bDrUnPPLA21lS+W4Jk=; fh=kGCJ7Z+NBQMV6ypYVRwz9uh03uBryctY9s5td/A9P3w=; b=AzHI66jfGdRKmuCTl4PWFFl/f2E3Jcgn+elp/YPGctIvkHJ+qJvcW1PCeGtkshjvpP iwZoeORjYuh0l2CsQuZUzpllw282LG3gp58M+ekj8RNjksaxiTA2vWo14UDsz4gGGm7I odVx+pJSUtcfi/cM0C4sEkzrgorLB7q2rdojC8GFPagoESG64Hkz2NRBlAwqgT05TGhp uRAsRLxI6YCB5BsP0joQgMgPJYfeN5FZLJijL9kOjh2LkNXePoATtHefYQQ4egzH6eKT MLQXtJdVYcmQOmLid18CtyV4eSK/L08CLKo897vEBoC9EcHoXguIXj7YHC3zajDhYeYW 3yww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-63011-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63011-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXC/0Ny7N89vpEWB8/KCRP/3mVQ27BasY1g5KOThFZ6JKYUclBtZho4onTUk8uGOLqUlUz/qE24ZgjmKPwMi6ZyiMFEKESZ0A5NhXV0xA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id c7-20020a6566c7000000b005dc82fb4b3bsi838761pgw.742.2024.02.12.22.26.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 22:26:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63011-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; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-63011-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63011-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5CD90282773 for ; Tue, 13 Feb 2024 06:26:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F3A3B168CC; Tue, 13 Feb 2024 06:26:05 +0000 (UTC) Received: from bmailout1.hostsharing.net (bmailout1.hostsharing.net [83.223.95.100]) (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 0DD7113AC0; Tue, 13 Feb 2024 06:26:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=83.223.95.100 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707805565; cv=none; b=kAWgxmt2EHgh4zNb8VypC7RRwAl3d5TQ8JDquVlfGyLL+RYKX5s+H4Ff1Ktb+Jl1EjAK2bu0KgeBH83pQitcj4zBWdj9Db4fiFObPU2LGhOySVbyCOMbwNWhFXum4mGxJoZnUU5tZUJUzyb7wfq7C2Vee0zsjMYQpTaHB91Mwg0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707805565; c=relaxed/simple; bh=kJpB1bbotnZFhqEVg0AeQ/Zsaj38y8uUEDRP5TOzTKw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Gf+DFN32CZpe05bgi31IPMMU+RMnyFxYdwyBiue95R2CzoekkDnY2jsIsg2ber44ArgdSDfiprNqPka9insWzVzwE0fjm+ySJEYSQBUit8wCD7qVtMZDXzHDvOLMl+uKnn7DjBMhljaPm/Wq/jtsYppvKd+whugDydyextCF0mM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de; spf=none smtp.mailfrom=h08.hostsharing.net; arc=none smtp.client-ip=83.223.95.100 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=h08.hostsharing.net Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "*.hostsharing.net", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by bmailout1.hostsharing.net (Postfix) with ESMTPS id 55410300037E4; Tue, 13 Feb 2024 07:25:59 +0100 (CET) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 413414F367; Tue, 13 Feb 2024 07:25:59 +0100 (CET) Date: Tue, 13 Feb 2024 07:25:59 +0100 From: Lukas Wunner To: Mathieu Desnoyers Cc: Dan Williams , Arnd Bergmann , Dave Chinner , 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 Subject: Re: [PATCH v5 5/8] virtio: Treat alloc_dax() -EOPNOTSUPP failure as non-fatal Message-ID: <20240213062559.GA27364@wunner.de> References: <20240212163101.19614-1-mathieu.desnoyers@efficios.com> <20240212163101.19614-6-mathieu.desnoyers@efficios.com> 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: <20240212163101.19614-6-mathieu.desnoyers@efficios.com> User-Agent: Mutt/1.10.1 (2018-07-13) On Mon, Feb 12, 2024 at 11:30:58AM -0500, Mathieu Desnoyers wrote: > In preparation for checking whether the architecture has data cache > aliasing within alloc_dax(), modify the error handling of virtio > virtio_fs_setup_dax() to treat alloc_dax() -EOPNOTSUPP failure as > non-fatal. > > Co-developed-by: Dan Williams > Signed-off-by: Dan Williams > Fixes: d92576f1167c ("dax: does not work correctly with virtual aliasing caches") That's a v4.0 commit, yet this patch uses DEFINE_FREE() which is only available in v6.6 but not any earlier stable kernels. So the Fixes tag feels a bit weird. Apart from that, Reviewed-by: Lukas Wunner