On Tue, Jul 15, 2025 at 09:52:37AM +0800, Bart Van Assche wrote: > Change the type of orig_sector from dev_t (unsigned int) into sector_t (u64) > to prevent truncation of orig_sector by the tracing code. > > Cc: Kent Overstreet <kent.overstreet@xxxxxxxxx> > Fixes: cafe56359144 ("bcache: A block layer cache") > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> Acked-by: Coly Li <colyli@xxxxxxxxxx> Thanks. Coly Li > --- > include/trace/events/bcache.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/trace/events/bcache.h b/include/trace/events/bcache.h > index 899fdacf57b9..d0eee403dc15 100644 > --- a/include/trace/events/bcache.h > +++ b/include/trace/events/bcache.h > @@ -16,7 +16,7 @@ DECLARE_EVENT_CLASS(bcache_request, > __field(unsigned int, orig_major ) > __field(unsigned int, orig_minor ) > __field(sector_t, sector ) > - __field(dev_t, orig_sector ) > + __field(sector_t, orig_sector ) > __field(unsigned int, nr_sector ) > __array(char, rwbs, 6 ) > ), >