diff options
author | Javier González <javier@cnexlabs.com> | 2017-10-13 14:46:24 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-13 16:34:57 +0200 |
commit | 0f9248cf1e22333b2a0458540aafb1ad3b2b3337 (patch) | |
tree | d55104aad57bc9ac37717f4237c12a99c6095ba8 /drivers/nvme | |
parent | lightnvm: pblk: guarantee line integrity on reads (diff) | |
download | linux-0f9248cf1e22333b2a0458540aafb1ad3b2b3337.tar.xz linux-0f9248cf1e22333b2a0458540aafb1ad3b2b3337.zip |
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>
Diffstat (limited to 'drivers/nvme')
0 files changed, 0 insertions, 0 deletions