DM-Crypt Archive mirror
 help / color / mirror / Atom feed
From: Riz <mdrizwan827@gmail.com>
To: dm-crypt@saout.de
Subject: [dm-crypt] How many errors can be corrected by FEC? ( DM-verity)
Date: Mon, 22 Jun 2020 11:40:54 +0530	[thread overview]
Message-ID: <CA+FSg4o30a2CtmqAYX9rXvOPv9MTVw_WLJ=aiaqwNUtUAThyvw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 520 bytes --]

Hi,
I am working with Dm-verity with FEC enabled.
I have defined the --fec-roots to be "4".

So, My question is how many errors can actually be corrected in this case
for example?

For instance, I just added some "1000" characters to a text file in order
to corrupt the IMAGE.
I could see that the kernel reports a log saying  "Corrected 1000 errors"
and the file is indeed corrected.

Can anybody help me understand the amount of correction that can be
achieved by FEC based on different value of --fec-roots?

Thanks.

[-- Attachment #2: Type: text/html, Size: 729 bytes --]

             reply	other threads:[~2020-06-22  6:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-22  6:10 Riz [this message]
2020-06-22  7:42 ` [dm-crypt] How many errors can be corrected by FEC? ( DM-verity) Milan Broz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+FSg4o30a2CtmqAYX9rXvOPv9MTVw_WLJ=aiaqwNUtUAThyvw@mail.gmail.com' \
    --to=mdrizwan827@gmail.com \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).