diff options
author | Matias Bjørling <mb@lightnvm.io> | 2018-10-09 13:11:38 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-10-09 16:25:06 +0200 |
commit | 8bbd45d02a118cbefdf4e1a6274bd965a6aa3c59 (patch) | |
tree | 03882d80b5dc3d8cae78821febc84da7fa24fac6 /drivers/lightnvm/pblk-read.c | |
parent | lightnvm: pblk: unify vector max req constants (diff) | |
download | linux-8bbd45d02a118cbefdf4e1a6274bd965a6aa3c59.tar.xz linux-8bbd45d02a118cbefdf4e1a6274bd965a6aa3c59.zip |
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>
Diffstat (limited to 'drivers/lightnvm/pblk-read.c')
0 files changed, 0 insertions, 0 deletions