summaryrefslogtreecommitdiffstats
path: root/drivers/md/multipath.h
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2015-06-26 14:25:12 +0200
committerMike Snitzer <snitzer@redhat.com>2015-08-12 17:32:19 +0200
commit4051aab762f161826f15ea63c8baaf33cb5e6fe3 (patch)
treec4435cbfd451b46cb7cac41a5be8e763192d7c3b /drivers/md/multipath.h
parentdm cache policy smq: move 'dm-cache-default' module alias to SMQ (diff)
downloadlinux-4051aab762f161826f15ea63c8baaf33cb5e6fe3.tar.xz
linux-4051aab762f161826f15ea63c8baaf33cb5e6fe3.zip
dm cache policy smq: change the mutex to a spinlock
We no longer sleep in any of the smq functions, so this can become a spinlock. Switching from mutex to spinlock improves performance when the fast cache device is a very low latency device (e.g. NVMe SSD). The switch to spinlock also allows for removal of the extra tick_lock; which is no longer needed since the main lock being a spinlock now fulfills the locking requirements needed by interrupt context. Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/multipath.h')
0 files changed, 0 insertions, 0 deletions