Skip to content

Commit 38ea2f7

Browse files
Javier Gonzálezaxboe
authored andcommitted
lightnvm: Add CRC read error
Let the host differentiate between a read error and a CRC check error on the device side. Signed-off-by: Javier González <[email protected]> Signed-off-by: Matias Bjørling <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 06894ef commit 38ea2f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/lightnvm.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ enum {
107107
NVM_RSP_ERR_FAILWRITE = 0x40ff,
108108
NVM_RSP_ERR_EMPTYPAGE = 0x42ff,
109109
NVM_RSP_ERR_FAILECC = 0x4281,
110+
NVM_RSP_ERR_FAILCRC = 0x4004,
110111
NVM_RSP_WARN_HIGHECC = 0x4700,
111112

112113
/* Device opcodes */

0 commit comments

Comments
 (0)