diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-03-17 17:32:28 -0400 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-03-19 19:11:19 -0400 |
commit | ff84c50cfb4b8dc68c982fb6c05a524e1539ee2f (patch) | |
tree | 63fff4f557b19618a9d4bcc8e224f111c2300226 /.mailmap | |
parent | 785888c544e0433f601df18ff98a3215b380b9c3 (diff) |
ring-buffer: Do not die if rb_iter_peek() fails more than thrice
As the iterator will be reading a live buffer, and if the event being read
is on a page that a writer crosses, it will fail and try again, the
condition in rb_iter_peek() that only allows a retry to happen three times
is no longer valid. Allow rb_iter_peek() to retry more than three times
without killing the ring buffer, but only if rb_iter_head_event() had failed
at least once.
Link: http://lkml.kernel.org/r/20200317213416.452888193@goodmis.org
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions