[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <A1101358-5262-4AE5-B486-83344B99A7AD@cnexlabs.com>
Date: Tue, 27 Feb 2018 16:09:59 +0000
From: Javier Gonzalez <javier@...xlabs.com>
To: Javier González <jg@...htnvm.io>
CC: "mb@...htnvm.io" <mb@...htnvm.io>,
"linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] lightnvm: simplify geometry structure.
> On 27 Feb 2018, at 16.57, Javier González <jg@...htnvm.io> wrote:
>
> Currently, the device geometry is stored redundantly in the nvm_id and
> nvm_geo structures at a device level. Moreover, when instantiating
> targets on a specific number of LUNs, these structures are replicated
> and manually modified to fit the instance channel and LUN partitioning.
>
> Instead, create a generic geometry around nvm_geo, which can be used by
> (i) the underlying device to describe the geometry of the whole device,
> and (ii) instances to describe their geometry independently.
>
> Since these share a big part of the geometry, create a nvm_common_geo
> structure that keeps the static geoometry values that are shared across
> instances.
>
> As we introduce support for 2.0, these structures allow to abstract
> spec. specific values and present a common geometry to targets.
>
> Signed-off-by: Javier González <javier@...xlabs.com>
> ---
>
Please ignore this commit message for now. It’s not updated...
Javier
Powered by blists - more mailing lists