Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'for-linus' of git://git.kernel.dk/linux-block

Pull writeback fix from Jens Axboe:
"Just a single fix for domain aware writeback, fixing a regression that
can cause balance_dirty_pages() to keep looping while not getting any
work done"

* 'for-linus' of git://git.kernel.dk/linux-block:
writeback: Fix performance regression in wb_over_bg_thresh()

+4 -2
+4 -2
mm/page-writeback.c
··· 1910 1910 if (gdtc->dirty > gdtc->bg_thresh) 1911 1911 return true; 1912 1912 1913 - if (wb_stat(wb, WB_RECLAIMABLE) > __wb_calc_thresh(gdtc)) 1913 + if (wb_stat(wb, WB_RECLAIMABLE) > 1914 + wb_calc_thresh(gdtc->wb, gdtc->bg_thresh)) 1914 1915 return true; 1915 1916 1916 1917 if (mdtc) { ··· 1925 1924 if (mdtc->dirty > mdtc->bg_thresh) 1926 1925 return true; 1927 1926 1928 - if (wb_stat(wb, WB_RECLAIMABLE) > __wb_calc_thresh(mdtc)) 1927 + if (wb_stat(wb, WB_RECLAIMABLE) > 1928 + wb_calc_thresh(mdtc->wb, mdtc->bg_thresh)) 1929 1929 return true; 1930 1930 } 1931 1931