lkml.org 
[lkml]   [2024]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 00/26] DCD: Add support for Dynamic Capacity Devices (DCD)
fan wrote:
> On Sun, Mar 24, 2024 at 04:18:03PM -0700, ira.weiny@intel.com wrote:
> > A git tree of this series can be found here:

[snip]

> >
>
> Hi Ira,
> Have not got a chance to check the code yet, but I noticed one thing
> when testing with my DCD emulation code.
> Currently, if we do partial release, it seems the whole extent will be
> removed. Is it designed intentionally?
>

Yes that is my intent. I specifically called that out in patch 18.

https://lore.kernel.org/all/20240324-dcd-type2-upstream-v1-18-b7b00d623625@intel.com/

I thought we discussed this in one of the collaboration calls. Mainly
this is to simplify by not attempting any split of the extents the host is
tracking. It really is expected that the FM/device is going to keep those
extents offered and release them in their entirety. I understand this may
complicate the device because it may see a release of memory prior to the
request of that release. And perhaps this complicates the device. But in
that case it (or the FM really) should not attempt to release partial
extents.

Ira

[snip]

\
 
 \ /
  Last update: 2024-05-27 16:13    [W:0.310 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site