summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-cache-policy-mq.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2014-11-05 14:35:50 +0100
committerMike Snitzer <snitzer@redhat.com>2014-11-10 15:25:29 -0500
commit41abc4e1af369bb5438eaee398e3beee690cc8ca (patch)
treea94881ff00d7e3ab5d42544670c77a6bff8224ef /drivers/md/dm-cache-policy-mq.c
parent6fa9952097747f71c5077f3e14ce3f8adee6f778 (diff)
dm: do not call dm_sync_table() when creating new devices
When creating new devices dm_sync_table() calls synchronize_rcu_expedited(), causing _all_ pending RCU pointers to be flushed. This causes a latency overhead that is especially noticeable when creating lots of devices. And all of this is pointless as there are no old maps to be disconnected, and hence no stale pointers which would need to be cleared up. Signed-off-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-cache-policy-mq.c')
0 files changed, 0 insertions, 0 deletions