diff options
author | Wanpeng Li <liwanp@linux.vnet.ibm.com> | 2013-07-09 03:00:14 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-09 21:33:22 +0400 |
commit | 25d130ba22362757a90135fd8a0f75cc7fc71e79 (patch) | |
tree | 6d88bac53aaeba9c957a92a6df0e894c185f421c /include/linux/writeback.h | |
parent | 6ce1bc86ae8b8f74095f2694732ccbab2f3849e5 (diff) | |
download | linux-25d130ba22362757a90135fd8a0f75cc7fc71e79.tar.xz |
mm/writeback: don't check force_wait to handle bdi->work_list
After commit 839a8e8660b6 ("writeback: replace custom worker pool
implementation with unbound workqueue"), bdi_writeback_workfn runs off
bdi_writeback->dwork, on each execution, it processes bdi->work_list and
reschedules if there are more things to do instead of flush any work
that race with us existing. It is unecessary to check force_wait in
wb_do_writeback since it is always 0 after the mentioned commit. This
patch remove the force_wait in wb_do_writeback.
Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Reviewed-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Fengguang Wu <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 'include/linux/writeback.h')
0 files changed, 0 insertions, 0 deletions