]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
9539 Make zvol operations use _by_dnode routines
authorAlexander Motin <mav@FreeBSD.org>
Thu, 2 Aug 2018 21:07:04 +0000 (21:07 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Thu, 2 Aug 2018 21:07:04 +0000 (21:07 +0000)
commit3f586250d8ff21f35c1cf90f1fc06ed794e83877
treecb29667ce7914272cf81a4a99763a4f2ebfab4b3
parentac879e61ad2fbadcf3c8e393bf4c519d0893c76e
parent8398b8e9665135b6816a78ba3cbb60d8daefd153
9539 Make zvol operations use _by_dnode routines

Continues what was started in 7801 add more by-dnode routines 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.

illumos/illumos-gate@8dfe5547fbf0979fc1065a8b6fddc1e940a7cf4f

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Author:     Richard Yao <richard.yao@prophetstor.com>
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dmu.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zvol.c