Tony Nguyen c8bbf7c00b 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 <behlendorf1@llnl.gov>
Signed-off-by: Tony Nguyen <tony.nguyen@delphix.com>
Closes #9156
2019-08-15 17:36:24 -06:00
..
2018-05-29 16:00:33 -07:00
2019-07-16 17:22:31 -07:00
2019-07-28 18:15:26 -07:00
2019-08-13 07:46:12 -06:00
2018-05-29 16:00:33 -07:00
2019-07-26 10:54:14 -07:00
2019-06-24 09:32:47 -07:00