On 5/15/25 12:16 AM, Jason Xing wrote:
From: Jason Xing <kernelxing@tencent.com>
Replace internal subbuf_start in blktrace with the default policy
in relayfs.
Remove dropped field from struct blktrace. Correspondingly, call the
common helper in relay. Through incrementing full_count to keep track
of how many times we encountered a full buffer issue, it aids the user
space app in telling how many lost events appear.
Forgot, I'd rewrite this, "telling how many lost events appear" doesn't
make any sense at all, as these events obviously don't appears in the
first place.
By incrementing full_count to keep track of how many times we
encountered a full buffer issue, user space will know how many events
were lost.
--
Jens Axboe