• Wu Fengguang's avatar
    writeback: dirty position control - bdi reserve area · 8927f66c
    Wu Fengguang authored
    Keep a minimal pool of dirty pages for each bdi, so that the disk IO
    queues won't underrun. Also gently increase a small bdi_thresh to avoid
    it stuck in 0 for some light dirtied bdi.
    
    It's particularly useful for JBOD and small memory system.
    
    It may result in (pos_ratio > 1) at the setpoint and push the dirty
    pages high. This is more or less intended because the bdi is in the
    danger of IO queue underflow.
    Signed-off-by: default avatarWu Fengguang <fengguang.wu@intel.com>
    8927f66c
page-writeback.c 58.1 KB