Searched hist:"95 b88f4d71cb953e02206be3c757083601391a0f" (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/md/ |
H A D | dm-io-tracker.h | diff 5c0de3d72f8c05678ed769bea24e98128f7ab570 Mon Jun 28 15:59:37 CEST 2021 Mikulas Patocka <mpatocka@redhat.com> 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>
|
H A D | dm-writecache.c | diff 5c0de3d72f8c05678ed769bea24e98128f7ab570 Mon Jun 28 15:59:37 CEST 2021 Mikulas Patocka <mpatocka@redhat.com> 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> diff 95b88f4d71cb953e02206be3c757083601391a0f Fri Jun 25 21:33:02 CEST 2021 Mikulas Patocka <mpatocka@redhat.com> dm writecache: pause writeback if cache full and origin being written directly
Implementation reuses dm_io_tracker, that until now was only used by dm-cache, to track if any writes were issued directly to the origin (due to cache being full) within the last second. If so writeback is paused for a second.
This change improves performance for when the cache is full and IO is issued directly to the origin device (rather than through the cache).
Depends-on: d53f1fafec9d ("dm writecache: do direct write if the cache is full") Suggested-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
|
/linux/Documentation/admin-guide/device-mapper/ |
H A D | writecache.rst | diff 5c0de3d72f8c05678ed769bea24e98128f7ab570 Mon Jun 28 15:59:37 CEST 2021 Mikulas Patocka <mpatocka@redhat.com> 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>
|