This 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.
Ported from: https://github.com/zfsonlinux/zfs/commit/5228cf011626081ee5dd4b6ce6fd31857d494e93 The comstar code had to be adapted, which required the addition of a dmu_assign_arcbuf_dnode() function in dmu.c. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Richard Yao <[email protected]> You can view, comment on, or merge this pull request online at: https://github.com/openzfs/openzfs/pull/403 -- Commit Summary -- * Make zvol operations use _by_dnode routines -- File Changes -- M usr/src/uts/common/fs/zfs/dmu.c (42) M usr/src/uts/common/fs/zfs/sys/dmu.h (7) M usr/src/uts/common/fs/zfs/zvol.c (16) M usr/src/uts/common/io/comstar/lu/stmf_sbd/sbd_zvol.c (26) M usr/src/uts/common/io/comstar/lu/stmf_sbd/stmf_sbd.h (2) -- Patch Links -- https://github.com/openzfs/openzfs/pull/403.patch https://github.com/openzfs/openzfs/pull/403.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/openzfs/openzfs/pull/403 ------------------------------------------ openzfs-developer Archives: https://openzfs.topicbox.com/groups/developer/discussions/Tb8c99eb91b584cfa-M293a4758103147e84d7bc5a6 Powered by Topicbox: https://topicbox.com
