]> git.proxmox.com Git - mirror_zfs.git/commit
Make zvol operations use _by_dnode routines
authorRichard Yao <ryao@gentoo.org>
Tue, 13 Jun 2017 16:18:08 +0000 (12:18 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 13 Jun 2017 16:18:08 +0000 (09:18 -0700)
commit5228cf011626081ee5dd4b6ce6fd31857d494e93
treecf5b578fa63b763ec7482146325a92bc90199dd3
parent1fbfcf115979c707e636167fac6c10fec4ff5657
Make zvol operations use _by_dnode routines

This continues what was started in
0eef1bde31d67091d3deed23fe2394f5a8bf2276 by fully converting zvols
to avoid unnecessary dnode_hold() calls. This saves a small amount
of CPU time and slightly improves latencies of operations on zvols.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@prophetstor.com>
Closes #6058
include/sys/dmu.h
module/zfs/dmu.c
module/zfs/zvol.c