Skip to content
Commit 68809c71 authored by Fengguang Wu's avatar Fengguang Wu
Browse files

writeback: initialize global_dirty_limit



This prevents global_dirty_limit from remaining 0 (the initial value)
for long time, since it's only updated in update_dirty_limit() when
above the dirty freerun area.

It will avoid unexpected consequences when some random code use it as a
convenient approximation of the global dirty threshold.

Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
parent 4cd9069a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment