diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2017-11-24 00:15:43 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-01-17 17:16:14 +0300 |
commit | ae1093be5a0ef997833e200a0dafb9ed0b1ff4fe (patch) | |
tree | 89fc4c9f1ff7226bb157c8ccf92b265186c02747 /drivers/md/dm-stats.c | |
parent | 7690e25302dc7d0cd42b349e746fe44b44a94f2b (diff) | |
download | linux-ae1093be5a0ef997833e200a0dafb9ed0b1ff4fe.tar.xz |
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-stats.c')
0 files changed, 0 insertions, 0 deletions