diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2017-11-23 16:15:43 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-01-17 09:16:14 -0500 |
commit | ae1093be5a0ef997833e200a0dafb9ed0b1ff4fe (patch) | |
tree | 89fc4c9f1ff7226bb157c8ccf92b265186c02747 /drivers/md/dm-zoned-metadata.c | |
parent | 7690e25302dc7d0cd42b349e746fe44b44a94f2b (diff) | |
download | blackbird-op-linux-ae1093be5a0ef997833e200a0dafb9ed0b1ff4fe.tar.gz blackbird-op-linux-ae1093be5a0ef997833e200a0dafb9ed0b1ff4fe.zip |
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>
Diffstat (limited to 'drivers/md/dm-zoned-metadata.c')
0 files changed, 0 insertions, 0 deletions