diff options
author | Tony Nguyen <[email protected]> | 2019-08-15 17:36:24 -0600 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-08-15 17:36:24 -0600 |
commit | c8bbf7c00b3e1d949f928fd3aace234e38906a12 (patch) | |
tree | 06e633ce6c954b75afdd99c2109b86bf3112f052 /module/.gitignore | |
parent | 0e37a0f4f3bc4feb62a966a7c0dd64544172395f (diff) |
Improve write performance by using dmu_read_by_dnode()
In zfs_log_write(), we can use dmu_read_by_dnode() rather than
dmu_read() thus avoiding unnecessary dnode_hold() calls.
We get a 2-5% performance gain for large sequential_writes tests, >=128K
writes to files with recordsize=8K.
Testing done on Ubuntu 18.04 with 4.15 kernel, 8vCPUs and SSD storage on
VMware ESX.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Closes #9156
Diffstat (limited to 'module/.gitignore')
0 files changed, 0 insertions, 0 deletions