]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
9539 Make zvol operations use _by_dnode routines
authorAlexander Motin <mav@FreeBSD.org>
Thu, 2 Aug 2018 20:49:08 +0000 (20:49 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Thu, 2 Aug 2018 20:49:08 +0000 (20:49 +0000)
commit8398b8e9665135b6816a78ba3cbb60d8daefd153
treeeae6f521e3095e73dab93aa950c2dd12db61820a
parent903252254b69357897fe24ae663ff0b342de07cd
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>
uts/common/fs/zfs/dmu.c
uts/common/fs/zfs/sys/dmu.h
uts/common/fs/zfs/zvol.c