Re: [PATCH v13 2/5] gennvm: Generic NVM manager

2015-10-29 Thread Jens Axboe
On 10/29/2015 08:41 AM, Dongsheng Yang wrote: On 10/28/2015 08:30 AM, Matias Bjørling wrote: The implementation for Open-Channel SSDs is divided into media [...] +lun->reserved_blocks = 2; /* for GC only */ +lun->vlun.id = i; +lun->vlun.lun_id = i % dev->luns_per_chnl;

Re: [PATCH v13 2/5] gennvm: Generic NVM manager

2015-10-29 Thread Jens Axboe
On 10/29/2015 08:41 AM, Dongsheng Yang wrote: On 10/28/2015 08:30 AM, Matias Bjørling wrote: The implementation for Open-Channel SSDs is divided into media [...] +lun->reserved_blocks = 2; /* for GC only */ +lun->vlun.id = i; +lun->vlun.lun_id = i % dev->luns_per_chnl;

Re: [PATCH v13 2/5] gennvm: Generic NVM manager

2015-10-28 Thread Dongsheng Yang
On 10/28/2015 08:30 AM, Matias Bjørling wrote: The implementation for Open-Channel SSDs is divided into media [...] + lun->reserved_blocks = 2; /* for GC only */ + lun->vlun.id = i; + lun->vlun.lun_id = i % dev->luns_per_chnl; +

Re: [PATCH v13 2/5] gennvm: Generic NVM manager

2015-10-28 Thread Dongsheng Yang
On 10/28/2015 08:30 AM, Matias Bjørling wrote: The implementation for Open-Channel SSDs is divided into media [...] + lun->reserved_blocks = 2; /* for GC only */ + lun->vlun.id = i; + lun->vlun.lun_id = i % dev->luns_per_chnl; +

[PATCH v13 2/5] gennvm: Generic NVM manager

2015-10-27 Thread Matias Bjørling
The implementation for Open-Channel SSDs is divided into media management and targets. This patch implements a generic media manager for open-channel SSDs. After a media manager has been initialized, single or multiple targets can be instantiated with the media managed as the backend.

[PATCH v13 2/5] gennvm: Generic NVM manager

2015-10-27 Thread Matias Bjørling
The implementation for Open-Channel SSDs is divided into media management and targets. This patch implements a generic media manager for open-channel SSDs. After a media manager has been initialized, single or multiple targets can be instantiated with the media managed as the backend.