]> git.proxmox.com Git - mirror_zfs.git/commit
Speed up zvol import and export speed
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 8 Dec 2016 21:05:02 +0000 (14:05 -0700)
committerGitHub <noreply@github.com>
Thu, 8 Dec 2016 21:05:02 +0000 (14:05 -0700)
commitf95e64789157c2fa373cb424f2b5713be4c8a639
treeade40261365bcfec245d1417d5900a7198451b04
parent27f2b90d3e365dbe20d736792b390674e8236b17
parent899662e344b150037180a6f61acd186fec773c5f
Speed up zvol import and export speed

Speed up import and export speed by:

* Add system delay taskq
* Parallel prefetch zvol dnodes during zvol_create_minors
* Parallel zvol_free during zvol_remove_minors
* Reduce list linear search using ida and hash

Reviewed-by: Boris Protopopov <boris.protopopov@actifio.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Closes #5433
module/zfs/spa.c
module/zfs/spa_misc.c