• J
    writeback: fixups for !dirty_writeback_centisecs · 6423104b
    Jens Axboe 提交于
    Commit 69b62d01 fixed up most of the places where we would enter
    busy schedule() spins when disabling the periodic background
    writeback. This fixes up the sb timer so that it doesn't get
    hammered on with the delay disabled, and ensures that it gets
    rearmed if needed when /proc/sys/vm/dirty_writeback_centisecs
    gets modified.
    
    bdi_forker_task() also needs to check for !dirty_writeback_centisecs
    and use schedule() appropriately, fix that up too.
    Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
    6423104b
backing-dev.c 18.7 KB