summaryrefslogtreecommitdiff
path: root/mm/backing-dev.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2021-09-03 00:53:06 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-09-03 19:58:10 +0300
commitfee468fdf41cdf36ba6b5a780e2474d0a3e066ac (patch)
tree701fd0b0ab22a1b8d13996ced2bc161aee27631b /mm/backing-dev.c
parent633a2abb9e1cd5c95f3b600f4b2c12cce22ae4a0 (diff)
downloadlinux-fee468fdf41cdf36ba6b5a780e2474d0a3e066ac.tar.xz
writeback: reliably update bandwidth estimation
Currently we trigger writeback bandwidth estimation from balance_dirty_pages() and from wb_writeback(). However neither of these need to trigger when the system is relatively idle and writeback is triggered e.g. from fsync(2). Make sure writeback estimates happen reliably by triggering them from do_writepages(). Link: https://lkml.kernel.org/r/20210713104716.22868-2-jack@suse.cz Signed-off-by: Jan Kara <jack@suse.cz> Cc: Michael Stapelberg <stapelberg+linux@google.com> Cc: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions