diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2019-10-02 06:14:17 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2019-10-10 09:45:48 -0400 |
commit | a2f83e8b0c82c9500421a26c49eb198b25fcdea3 (patch) | |
tree | ff79e8472252dbd823a0bf9e86e336a7da63af1f /block/sed-opal.c | |
parent | 0a005856d35936e351cc20ff3de04499bd7ffbfd (diff) | |
download | linux-a2f83e8b0c82c9500421a26c49eb198b25fcdea3.tar.bz2 |
dm snapshot: introduce account_start_copy() and account_end_copy()
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>
Diffstat (limited to 'block/sed-opal.c')
0 files changed, 0 insertions, 0 deletions