Re: [PATCH] lightnvm: simplify geometry structure.

2018-02-27 Thread Javier Gonzalez
> On 27 Feb 2018, at 19.23, Matias Bjørling wrote: > > On 02/27/2018 04:57 PM, Javier González 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

Re: [PATCH] lightnvm: simplify geometry structure.

2018-02-27 Thread Javier Gonzalez
> On 27 Feb 2018, at 19.23, Matias Bjørling wrote: > > On 02/27/2018 04:57 PM, Javier González 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

Re: [PATCH] lightnvm: simplify geometry structure.

2018-02-27 Thread Matias Bjørling
On 02/27/2018 04:57 PM, Javier González 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

Re: [PATCH] lightnvm: simplify geometry structure.

2018-02-27 Thread Matias Bjørling
On 02/27/2018 04:57 PM, Javier González 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

Re: [PATCH] lightnvm: simplify geometry structure.

2018-02-27 Thread Javier Gonzalez
> On 27 Feb 2018, at 16.57, Javier González 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

Re: [PATCH] lightnvm: simplify geometry structure.

2018-02-27 Thread Javier Gonzalez
> On 27 Feb 2018, at 16.57, Javier González 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

[PATCH] lightnvm: simplify geometry structure.

2018-02-27 Thread Javier González
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

[PATCH] lightnvm: simplify geometry structure.

2018-02-27 Thread Javier González
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