On Mon, Dec 16, 2024 at 01:02:43PM -0800, Bart Van Assche wrote: > Apply the convention that is followed elsewhere in the block layer: only > declare functions inline if these are in the hot path. This patch makes it > easier to debug the code in blk-zoned.c with trace_printk(). trace_printk() > only displays the function name correctly for functions that are not > inlined. The other convention is to mark them as inline if they are so tiny that force inlinining is guaranteed to generate smaller code. disk_need_zone_resources seems a pretty clear case of that, while for the blk_zone_wplug_bio_io_error the forced inlining is indeed a bit questionable. I'm still not sure what the sudden urge to change it is?