• Artem Bityutskiy's avatar
    writeback: add new tracepoints · 60332023
    Artem Bityutskiy authored
    Add 2 new trace points to the periodic write-back wake up case, just like we do
    in the 'bdi_queue_work()' function. Namely, introduce:
    
    1. trace_writeback_wake_thread(bdi)
    2. trace_writeback_wake_forker_thread(bdi)
    
    The first event is triggered every time we wake up a bdi thread to start
    periodic background write-out. The second event is triggered only when the bdi
    thread does not exist and should be created by the forker thread.
    
    This patch was suggested by Dave Chinner and Christoph Hellwig.
    Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
    60332023
backing-dev.c 18.8 KB