Randy Yates
2020-11-24 22:20:34 UTC
I've notieced that in order to decode a page of in-band data, the linux
kernel code first computes the out-of-band ECC bytes on the given
in-band data (calc_ecc). It is also passed the received oob data
recv_ecc.
If (byte-by-byte) the calc_ecc does not match the recv_data, then
the page is decoded.
Why not compute the decoded ECC and compute the locator
vector/polynomial right off? Are these operations much
more expensive than encoding and comparing?
--Randyh
kernel code first computes the out-of-band ECC bytes on the given
in-band data (calc_ecc). It is also passed the received oob data
recv_ecc.
If (byte-by-byte) the calc_ecc does not match the recv_data, then
the page is decoded.
Why not compute the decoded ECC and compute the locator
vector/polynomial right off? Are these operations much
more expensive than encoding and comparing?
--Randyh