[dm-devel] [bug report] dm verity: add support for forward error correction

Sami Tolvanen samitolvanen at google.com
Thu Jun 14 15:54:43 UTC 2018


On Thu, Jun 14, 2018 at 7:33 AM Dan Carpenter <dan.carpenter at oracle.com> wrote:
> Apparently, if the read is a blocking read then new_read() returns NULL.

It looks like new_read can return NULL only if it's called with NF_GET
or NF_PREFETCH. dm_bufio_read calls it with NF_READ, which means it
shouldn't return NULL. Someone more familiar with dm-bufio, please
correct me if I'm wrong.

Sami




More information about the dm-devel mailing list