diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2021-06-28 15:59:37 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2021-06-28 22:30:13 +0200 |
commit | 5c0de3d72f8c05678ed769bea24e98128f7ab570 (patch) | |
tree | 9d41547dfdf367e5969af1244180d48564a1cc5b /block | |
parent | dm writecache: pause writeback if cache full and origin being written directly (diff) | |
download | linux-5c0de3d72f8c05678ed769bea24e98128f7ab570.tar.xz linux-5c0de3d72f8c05678ed769bea24e98128f7ab570.zip |
dm writecache: make writeback pause configurable
Commit 95b88f4d71cb953e02206be3c757083601391a0f ("dm writecache: pause
writeback if cache full and origin being written directly") introduced a
code that pauses cache flushing if we are issuing writes directly to the
origin.
Improve that initial commit by making the timeout code configurable
(via the option "pause_writeback"). Also change the default from 1s to
3s because it performed better.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions