Thread (17 messages) read the whole thread 17 messages, 4 authors, 2025-05-16

Re: [PATCH v2 3/4] blktrace: use rbuf->stats.full as a drop indicator in relayfs

From: Jens Axboe <axboe@kernel.dk>
Date: 2025-05-15 18:21:36
Also in: linux-block, lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help