Re: [PATCH v2 2/5] lightnvm: pblk: Helpers for OOB metadata

2018-10-29 Thread Javier Gonzalez
> On 22 Oct 2018, at 12.36, Igor Konopko wrote: > > Currently pblk assumes that size of OOB metadata on drive is always > equal to size of pblk_sec_meta struct. This commit add helpers which will > allow to handle different sizes of OOB metadata on drive. Probably want to mention the constrain t

Re: [PATCH v2 2/5] lightnvm: pblk: Helpers for OOB metadata

2018-10-28 Thread Matias Bjørling
On 10/22/2018 12:36 PM, Igor Konopko wrote: Currently pblk assumes that size of OOB metadata on drive is always equal to size of pblk_sec_meta struct. This commit add helpers which will allow to handle different sizes of OOB metadata on drive. Signed-off-by: Igor Konopko --- drivers/lightnvm/

[PATCH v2 2/5] lightnvm: pblk: Helpers for OOB metadata

2018-10-22 Thread Igor Konopko
Currently pblk assumes that size of OOB metadata on drive is always equal to size of pblk_sec_meta struct. This commit add helpers which will allow to handle different sizes of OOB metadata on drive. Signed-off-by: Igor Konopko --- drivers/lightnvm/pblk-core.c | 5 +++-- drivers/lightnvm/pb