commit | 8bbd45d02a118cbefdf4e1a6274bd965a6aa3c59 | [log] [tgz] |
---|---|---|
author | Matias Bjørling <mb@lightnvm.io> | Tue Oct 09 13:11:38 2018 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Oct 09 08:25:06 2018 -0600 |
tree | 03882d80b5dc3d8cae78821febc84da7fa24fac6 | |
parent | afdc23c91e085c56d1b0c119563c202b07255599 [diff] |
lightnvm: pblk: fix incorrect min_write_pgs The calculation of pblk->min_write_pgs should only use the optimal write size attribute provided by the drive, it does not correlate to the memory page size of the system, which can be smaller or larger than the LBA size reported. Signed-off-by: Matias Bjørling <mb@lightnvm.io> Reviewed-by: Javier González <javier@cnexlabs.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>