commit | ae1093be5a0ef997833e200a0dafb9ed0b1ff4fe | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Thu Nov 23 16:15:43 2017 -0500 |
committer | Mike Snitzer <snitzer@redhat.com> | Wed Jan 17 09:16:14 2018 -0500 |
tree | 89fc4c9f1ff7226bb157c8ccf92b265186c02747 | |
parent | 7690e25302dc7d0cd42b349e746fe44b44a94f2b [diff] |
dm snapshot: use mutex instead of rw_semaphore The rw_semaphore is acquired for read only in two places, neither is performance-critical. So replace it with a mutex -- which is more efficient. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>