Re: [PATCH v9 00/19] DCD: Add support for Dynamic Capacity Devices (DCD)
From: Jonathan Cameron
Date: Mon Apr 14 2025 - 12:48:11 EST
On Sun, 13 Apr 2025 17:52:08 -0500
Ira Weiny <ira.weiny@xxxxxxxxx> wrote:
> A git tree of this series can be found here:
>
> https://github.com/weiny2/linux-kernel/tree/dcd-v6-2025-04-13
>
> This is now based on 6.15-rc2.
Hi Ira,
Firstly thanks for the update and your hard work driving this forwards.
>
> Due to the stagnation of solid requirements for users of DCD I do not
> plan to rev this work in Q2 of 2025 and possibly beyond.
Hopefully there will be limited need to make changes (it looks pretty
good to me - we'll run a bunch of tests though which I haven't done
yet). I do have reason to want this code upstream and it is
now simple enough that I hope it is not controversial. Let's discuss
path forwards on the sync call tomorrow as I'm sure I'm not the only one.
If needed I'm fine picking up the baton to keep this moving forwards
(I'm even more happy to let someone else step up though!)
To me we don't need to answer the question of whether we fully understand
requirements, or whether this support covers them, but rather to ask
if anyone has requirements that are not sensible to satisfy with additional
work building on this?
I'm not aware of any such blocker. For the things I care about the
path forwards looks fine (particularly tagged capacity and sharing).
>
> It is anticipated that this will support at least the initial
> implementation of DCD devices, if and when they appear in the ecosystem.
> The patch set should be reviewed with the limited set of functionality in
> mind. Additional functionality can be added as devices support them.
Personally I think that's a chicken and egg problem but fully understand
the desire to keep things simple in the short term. Getting initial DCD
support in will help reduce the response (that I frequently hear) of
'the ecosystem isn't ready, let's leave that for a generation'.
>
> It is strongly encouraged for individuals or companies wishing to bring
> DCD devices to market review this set with the customer use cases they
> have in mind.
>
Absolutely. I can't share anything about devices at this time but you
can read whatever you want into my willingness to help get this (and a
bunch of things built on top of it) over the line.
> Remaining work:
>
> 1) Allow mapping to specific extents (perhaps based on
> label/tag)
> 1a) devise region size reporting based on tags
> 2) Interleave support
I'd maybe label these as 'additional possible future features'.
Personally I'm doubtful that hardware interleave of DCD is a short
term feature and it definitely doesn't have to be there for this to be useful.
Tags will matter but that is a 'next step' that this series does
not seem to hinder.
>
> Possible additional work depending on requirements:
>
> 1) Accept a new extent which extends (but overlaps) already
> accepted extent(s)
> 2) Rework DAX device interfaces, memfd has been explored a bit
> 3) Support more than 1 DC partition
>
> [1] https://github.com/weiny2/ndctl/tree/dcd-region3-2025-04-13
Thanks,
Jonathan