commit | 0f9248cf1e22333b2a0458540aafb1ad3b2b3337 | [log] [tgz] |
---|---|---|
author | Javier González <javier@cnexlabs.com> | Fri Oct 13 14:46:24 2017 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Oct 13 08:34:57 2017 -0600 |
tree | d55104aad57bc9ac37717f4237c12a99c6095ba8 | |
parent | 7bd4d370db6090004a06deb526f0f01fa99a3f9f [diff] |
lightnvm: pblk: remove redundant check on read path A partial read I/O in pblk is an I/O where some sectors reside in the write buffer in main memory and some are persisted on the device. Such an I/O must at least contain 2 lbas, therefore checking for the case where a single lba is mapped is not necessary. Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>