Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zvol_write() can use dmu_tx_hold_write_by_dnode() #10184

Merged
merged 1 commit into from
Apr 11, 2020

Commits on Apr 6, 2020

  1. zvol_write() can use dmu_tx_hold_write_by_dnode()

    We can improve the performance of writes to zvols by using
    dmu_tx_hold_write_by_dnode() instead of dmu_tx_hold_write().  This
    reduces lock contention on the first block of the dnode object, and also
    reduces the amount of CPU needed.  The benefit will be highest with
    multi-threaded async writes (i.e. writes that don't call zil_commit()).
    
    Signed-off-by: Matthew Ahrens <mahrens@delphix.com>
    ahrens committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    1eb1f33 View commit details
    Browse the repository at this point in the history