diff options
| author | Mikulas Patocka <mpatocka@redhat.com> | 2019-10-02 06:14:17 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-06 12:09:10 +0100 |
| commit | e10ef97a2ec45b1323939f978055b08429d4b4c1 (patch) | |
| tree | e312652e3cdb0494e97476ee391d8ba217cf064c /tools/perf/scripts/python | |
| parent | eda053db0782296e4c074e9e3096630581bccdae (diff) | |
dm snapshot: introduce account_start_copy() and account_end_copy()
[ Upstream commit a2f83e8b0c82c9500421a26c49eb198b25fcdea3 ]
This simple refactoring moves code for modifying the semaphore cow_count
into separate functions to prepare for changes that will extend these
methods to provide for a more sophisticated mechanism for COW
throttling.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Reviewed-by: Nikos Tsironis <ntsironis@arrikto.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
