Re: [PATCH] ring-buffer: Update "shortest_full" in polling

2023-09-29 Thread Julia Lawall
On Fri, 29 Sep 2023, Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > It was discovered that the ring buffer polling was incorrectly stating > that read would not block, but that's because polling did not take into > account that reads will block if the "buffer-percent" was set. Ins

[PATCH] ring-buffer: Update "shortest_full" in polling

2023-09-29 Thread Steven Rostedt
From: "Steven Rostedt (Google)" It was discovered that the ring buffer polling was incorrectly stating that read would not block, but that's because polling did not take into account that reads will block if the "buffer-percent" was set. Instead, the ring buffer polling would say reads would not