On Thu, Jun 14, 2018 at 7:33 AM Dan Carpenter <dan.carpenter@xxxxxxxxxx> 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 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel