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

Fix accounting error for pending sync IO operations in zpool iostat #15478

Merged
merged 1 commit into from
Nov 7, 2023

Commits on Nov 6, 2023

  1. Fix accounting error for pending sync IO ops in zpool iostat

    Currently vdev_queue_class_length is responsible for checking how long
    the queue length is, however, it doesn't check the length when a list
    is used, rather it just returns whether it is empty or not. To fix this
    I added a counter variable to vdev_queue_class to keep track of the sync
    IO ops, and changed vdev_queue_class_length to reference this variable
    instead.
    
    Signed-off-by: MigeljanImeri <ImeriMigel@gmail.com>
    MigeljanImeri committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    e7d5e1e View commit details
    Browse the repository at this point in the history