android_kernel_motorola_sm6375/drivers/lightnvm
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Matias Bjørling d7b6801673 lightnvm: combine 1.2 and 2.0 command flags
Add nvm_set_flags helper to enable core to appropriately
set the command flags for read/write/erase depending on which version
a drive supports.

The flags arguments can be distilled into the access hint,
scrambling, and program/erase suspend. Replace the access hint with
a "is_seq" parameter. The rest of the flags are dependent on the
command opcode, which is trivial to detect and set.

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>
2018-10-09 08:25:05 -06:00
..
core.c lightnvm: combine 1.2 and 2.0 command flags 2018-10-09 08:25:05 -06:00
Kconfig lightnvm: remove dependencies on BLK_DEV_NVME and PCI 2018-10-09 08:25:05 -06:00
Makefile
pblk-cache.c block: Add and use op_stat_group() for indexing disk_stat fields. 2018-07-18 08:44:20 -06:00
pblk-core.c lightnvm: combine 1.2 and 2.0 command flags 2018-10-09 08:25:05 -06:00
pblk-gc.c
pblk-init.c lightnvm: pblk: assume that chunks are closed on 1.2 devices 2018-07-13 08:14:49 -06:00
pblk-map.c
pblk-rb.c
pblk-read.c lightnvm: combine 1.2 and 2.0 command flags 2018-10-09 08:25:05 -06:00
pblk-recovery.c lightnvm: combine 1.2 and 2.0 command flags 2018-10-09 08:25:05 -06:00
pblk-rl.c
pblk-sysfs.c
pblk-write.c lightnvm: combine 1.2 and 2.0 command flags 2018-10-09 08:25:05 -06:00
pblk.h lightnvm: combine 1.2 and 2.0 command flags 2018-10-09 08:25:05 -06:00