On 2020-09-23 10:07, Jeffrey Lien wrote: > Hi Bart, > I would be willing to work on the latency logging issue in the IO threads, but don't know where to start. Do you know which parts and/or functions to start looking at? Hi Jeff, Please take a look at add_lat_sample() and add_clat_sample() in stat.c. I think these are called from the I/O path (account_io_completion()). The __add_log_sample() function is called by these functions and records a sample in a data structure. Bart.