summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-zoned-metadata.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2017-11-23 16:15:43 -0500
committerMike Snitzer <snitzer@redhat.com>2018-01-17 09:16:14 -0500
commitae1093be5a0ef997833e200a0dafb9ed0b1ff4fe (patch)
tree89fc4c9f1ff7226bb157c8ccf92b265186c02747 /drivers/md/dm-zoned-metadata.c
parent7690e25302dc7d0cd42b349e746fe44b44a94f2b (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud