commit | db2351eb22e42c5e29ce0caa967a10bb34efabb5 | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Wed May 26 10:16:01 2021 -0400 |
committer | Mike Snitzer <snitzer@redhat.com> | Fri Jun 04 12:07:24 2021 -0400 |
tree | c004cbea20922b2029087f490a2271a996bbfd17 | |
parent | 6b06dd5a972288d011a49d63eb9f6a5003d2e932 [diff] |
dm kcopyd: avoid useless atomic operations The functions set_bit and clear_bit are atomic. We don't need atomicity when making flags for dm-kcopyd. So, change them to direct manipulation of the flags. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>