Re: [PATCH] printk: Fix unnecessary returning broken pipe error from devkmsg_read

From: Sergey Senozhatsky
Date: Mon Sep 23 2019 - 21:10:26 EST


On (09/23/19 18:45), He Zhe wrote:
> I think it is NOT necessary to inform user-space, when it just wants to read
> from the beginning of the buffer, that the buffer has changed since the time
> point when it issues the action of reading.

The point here is not to notify user space that the logbuf has changed,
but to notify user space that unseen messages are gone, we lost them,
user space will never read them.

-ss