• Andrew Morton's avatar
    [PATCH] blk: cache queue_congestion_on/off_threshold values · 110eecfb
    Andrew Morton authored
    From: "Chen, Kenneth W" <kenneth.w.chen@intel.com>
    
    It's kind of redundant that queue_congestion_on/off_threshold gets
    calculated on every I/O and they produce the same number over and over
    again unless q->nr_requests gets changed (which is probably a very rare
    event).  We can cache those values in the request_queue structure.
    110eecfb
ll_rw_blk.c 76.3 KB