summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorJavier González2017-06-26 11:57:15 +0200
committerJens Axboe2017-06-27 00:24:53 +0200
commitd624f371d5c17a6e230ffed3f0371a4eb588bf45 (patch)
tree8518b6bcd4c0571041142c8637fa8dc38662a005 /drivers/scsi
parentlightnvm: pblk: expose max sec per write on sysfs (diff)
downloadkernel-qcow2-linux-d624f371d5c17a6e230ffed3f0371a4eb588bf45.tar.gz
kernel-qcow2-linux-d624f371d5c17a6e230ffed3f0371a4eb588bf45.tar.xz
kernel-qcow2-linux-d624f371d5c17a6e230ffed3f0371a4eb588bf45.zip
lightnvm: pblk: generalize erase path
Erase I/Os are scheduled with the following goals in mind: (i) minimize LUNs collisions with write I/Os, and (ii) even out the price of erasing on every write, instead of putting all the burden on when garbage collection runs. This works well on the current design, but is specific to the default mapping algorithm. This patch generalizes the erase path so that other mapping algorithms can select an arbitrary line to be erased instead. It also gets rid of the erase semaphore since it creates jittering for user writes. Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <matias@cnexlabs.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions