Re: [PATCH 01/12] lightnvm: simplify geometry structure.

2018-03-05 Thread Javier González
> On 5 Mar 2018, at 14.07, Matias Bjørling wrote: > > On 03/02/2018 04:21 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 01/12] lightnvm: simplify geometry structure.

2018-03-05 Thread Javier González
> On 5 Mar 2018, at 14.07, Matias Bjørling wrote: > > On 03/02/2018 04:21 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 01/12] lightnvm: simplify geometry structure.

2018-03-05 Thread Matias Bjørling
On 03/02/2018 04:21 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 01/12] lightnvm: simplify geometry structure.

2018-03-05 Thread Matias Bjørling
On 03/02/2018 04:21 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

[PATCH 01/12] lightnvm: simplify geometry structure.

2018-03-02 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 01/12] lightnvm: simplify geometry structure.

2018-03-02 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