From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) (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 59A6526E70E for ; Thu, 8 Jan 2026 23:25:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767914745; cv=none; b=h8hk2kvm4IvJujlbZjxDxF/NiJpOkmIkUYG3RnfFtdTyAvYcJPtjRSjOOzo9eTSpav5Qp9lEtgoYP7MlGnhcTB+rtwi9PcoaPjcbP5ACQwVDKnlmcAqE9FUkm27JT3VUG1Rkt4cuTI2WtyiYRajAH7uEu8TzN+mAOTgfAMBKcnA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767914745; c=relaxed/simple; bh=obLYyhrFsoB9oBqm7xL6fDhdB8wxBGKxiOySCPXnFrI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cXxETk1u1TFx465c1+tr1kr8G++a7gSZetrRnpcCqy90/B/vO85wRNyR5BiaWsVs644lk5DA90F8uOAIx2QA55B5JWfAnxObh866a1sS+m/MT5X3byQ03QQOcYhhYiNcNq2aRlCEQv/cwu0HN2R9EtyM+Lpqxaw0s3FRr7Ul4CE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net; spf=pass smtp.mailfrom=gourry.net; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b=jzSeMPKY; arc=none smtp.client-ip=209.85.219.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gourry.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b="jzSeMPKY" Received: by mail-qv1-f52.google.com with SMTP id 6a1803df08f44-88a26ce6619so36588186d6.3 for ; Thu, 08 Jan 2026 15:25:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1767914741; x=1768519541; 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=055cXnB91pz5e1+jow3wyxxEvRh6YPpDHe6f2UW3p44=; b=jzSeMPKY3rCpFqvzX79jd1jMCr1j1i5WwNHfa7dCqNQLbt+yEWIOJLKUznHAsbWMLu 21oyoEs4p12FZMXFkKAI8Fsec+X2NQfiNdN7Cuvjj6cDwjrZnog5g80W0CJ/YZ0Oj5Bf f7b+RtP/phsREFUXsrfbNnA6NB1VhnWHZFaFRoAiiRTBcyijNPFuXpjaRdLSJXL0YV/2 fjetK3dfjmvm79EpW9DYI64r3DbEE5BhN07L6SvsFwkinLLBv33SXz9D7Q3IaYBQtCrW acgw9oqkis7F8T9K7uJGbe3Lv8ZW+Ek3QbulZu0VUP/pikT067JStRKEskChNs42/vvZ F+vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767914741; x=1768519541; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=055cXnB91pz5e1+jow3wyxxEvRh6YPpDHe6f2UW3p44=; b=O3kQJ2TxhepU2qePMjzjt4a+h5X1ITxtlyVEXXQx7mro4/k0AjEt9jwlWGq4ccLbmc p/mi/DTPrysLYQ0X3BfhPgSG71EekRrkuBbAesni/0CyIpMIcLpyEvMgLx5/q3Hm0T3D tTA3GOGdRf1GraWOPsyzTSuA0VGaYSRuYy/K1c6Nv/k49JcS514TjCDl00Hlz/6jHVUu r5GxC8ruNGRsv7n5a0slt9pgIFcnGnN/vZsSW6/ZN5oap1zaPXHQM7ZleqRT7AzZI8me DQ318rKj6rQAhrpB26icqK2jaWlBkT1uFQ4BEiio1qQvO7uI2qF49HxUlquhovL2kHlg vUYw== X-Forwarded-Encrypted: i=1; AJvYcCXE5fjg1UG0E5sifhly+zSgVlcmVyEnoajQmRfP4vNt9BAXrCN2fOUSc9ZMSE4QrR00QPU/VB6ZyTo=@vger.kernel.org X-Gm-Message-State: AOJu0YztvNBKioG1NNfwpTomQFOHpt4oVT6bZCZ7wPtgLWLhtiYsP+8a 0CiUejs1H1wsrm9L1ff7dhNc0r/hoBiz8/rs0y6pmqXyixLx7ageYG7W7ngGy2WINvU= X-Gm-Gg: AY/fxX5hhxVC84F/IWgUzmVRpAuebBFpDgKmKYdZJHw9jM0txsJsLrS582OtdExm56T ZMdVxcombOkhMQej4uwEV5Y+b0gH9cO3EekuGLp4ESpTN7hrSiGH20dHqqArVwsjOhFI9TaqdSr 8z7BNwiF82MCTCkyRQYFOy3fwInIFLodXRmXrzb9WpQeqfRaqPiL34TkCwX+L3e8yUwiK3Xf5Nd S/2WNWPgsM8vRr4Ak3+9yFBDTSmXddGFBwDj2uzObp4nowmlNM77ng7dOf/H6FFjbrd3pYl8OEt Vb5677UOgVYgHC/pj3R9uJ+hdz4UcAwxERsEAS11zYeeHzUx7ydQDuoT3R44KOYs2CjCrJZOp9s pIEk3z0/dgv+yyxEBvVXRL2mXjPTP62HZmQheIo52OmiZMwbcEzSBmtbKeGuH71ZeSEdQXRqadu 3ws7XWcgqV2OGR629vXK+JiU4W3wo7K3iGQOUOiWuRI9oNI62mgCM9rUtLRqp0gPWL8ZTj2A== X-Google-Smtp-Source: AGHT+IH58K2fkRuNeCFONQo5PN3X5lTd6kkVRVrUL8HrgTghUwX32Msen1mn/KH+JIVLSLRjRmPpIQ== X-Received: by 2002:a05:6214:d0f:b0:88a:342f:32a with SMTP id 6a1803df08f44-89084185ec7mr128066396d6.14.1767914741275; Thu, 08 Jan 2026 15:25:41 -0800 (PST) Received: from gourry-fedora-PF4VCD3F (pool-96-255-20-138.washdc.ftas.verizon.net. [96.255.20.138]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-890772346e2sm66493856d6.33.2026.01.08.15.25.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jan 2026 15:25:40 -0800 (PST) Date: Thu, 8 Jan 2026 18:25:05 -0500 From: Gregory Price To: John Groves Cc: Jonathan Cameron , Miklos Szeredi , Dan Williams , Bernd Schubert , Alison Schofield , John Groves , Jonathan Corbet , Vishal Verma , Dave Jiang , Matthew Wilcox , Jan Kara , Alexander Viro , David Hildenbrand , Christian Brauner , "Darrick J . Wong" , Randy Dunlap , Jeff Layton , Amir Goldstein , Stefan Hajnoczi , Joanne Koong , Josef Bacik , Bagas Sanjaya , Chen Linxuan , James Morse , Fuad Tabba , Sean Christopherson , Shivank Garg , Ackerley Tng , Aravind Ramesh , Ajay Joshi , venkataravis@micron.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, nvdimm@lists.linux.dev, linux-cxl@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH V3 02/21] dax: add fsdev.c driver for fs-dax on character dax Message-ID: References: <20260107153244.64703-1-john@groves.net> <20260107153332.64727-1-john@groves.net> <20260107153332.64727-3-john@groves.net> <20260108113134.000040fd@huawei.com> <6ibgx5e2lnzjqln2yrdtdt3vordyoaktn4nhwe3ojxradhattg@eo2pdrlcdrt2> <5hswaqyoz474uybw33arwtkojxrtyxrvlk57bdwnu2lnpao4aa@4vxygh226knw> Precedence: bulk X-Mailing-List: linux-doc@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: <5hswaqyoz474uybw33arwtkojxrtyxrvlk57bdwnu2lnpao4aa@4vxygh226knw> On Thu, Jan 08, 2026 at 03:15:10PM -0600, John Groves wrote: > On 26/01/08 09:12AM, John Groves wrote: > > On 26/01/08 11:31AM, Jonathan Cameron wrote: > > > On Wed, 7 Jan 2026 09:33:11 -0600 > > > John Groves wrote: > > [ ... ] > > > > > diff --git a/drivers/dax/Kconfig b/drivers/dax/Kconfig > > > > index d656e4c0eb84..491325d914a8 100644 > > > > --- a/drivers/dax/Kconfig > > > > +++ b/drivers/dax/Kconfig > > > > @@ -78,4 +78,21 @@ config DEV_DAX_KMEM > > > > > > > > Say N if unsure. > > > > > > > > +config DEV_DAX_FS > > > > + tristate "FSDEV DAX: fs-dax compatible device driver" > > > > + depends on DEV_DAX > > > > + default DEV_DAX > > > > > > What's the logic for the default? Generally I'd not expect a > > > default for something new like this (so default of default == no) > > > > My thinking is that this is harmless unless you use it, but if you > > need it you need it. So defaulting to include the module seems > > viable. > > > > [ ... ] > > On further deliberation, I think I'd like to get rid of > CONFIG_DEV_DAX_FS, and just include the fsdev_dax driver if DEV_DAX > and FS_DAX are configured. Then CONFIG_FUSE_FAMFS_DAX (controlling the > famfs code in fuse) can just depend on DEV_DAX, FS_DAX and FUSE_FS. > > That's where I'm leaning for the next rev of the series... > > John > Please do that for CXL_DAX or whatever because it's really annoying to have CXL and DAX configured but not have your dax device show up because CXL_DAX wasn't configured. :P ~Gregory