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

chore(log): adding higher latency log per IO #184

Merged
merged 1 commit into from Jan 7, 2019

Conversation

vishnuitta
Copy link

When replica gets disconnected with target due to timeout, there might be some IOs that are not responded for long time. There are ZIO delay logs that helps in debugging this issue.
This PR is to logs at uZFS layer regarding high latent IOs.

Signed-off-by: Vishnu Itta vitta@mayadata.io

Signed-off-by: Vishnu Itta <vitta@mayadata.io>
@codecov-io
Copy link

Codecov Report

Merging #184 into v0.8.x will decrease coverage by 0.18%.
The diff coverage is 91.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           v0.8.x     #184      +/-   ##
==========================================
- Coverage   52.41%   52.22%   -0.19%     
==========================================
  Files         240      240              
  Lines       78049    78057       +8     
==========================================
- Hits        40906    40766     -140     
- Misses      37143    37291     +148

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4e977ce...02d897b. Read the comment docs.

@@ -41,6 +41,7 @@

#define MAXEVENTS 64

#define IO_THRESHOLD_TIME 30
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

30 sec is too much for a single IO. can we set it to 5 sec ?

Copy link
Member

@pawanpraka1 pawanpraka1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good.

@pawanpraka1 pawanpraka1 merged commit 485d152 into mayadata-io:v0.8.x Jan 7, 2019
vishnuitta added a commit to vishnuitta/zfs that referenced this pull request Jan 30, 2019
When replica gets disconnected with target due to timeout, there might be some IOs that are not responded for long time. There are ZIO delay logs that helps in debugging this issue.
This PR is to logs at uZFS layer regarding high latent IOs.

Signed-off-by: Vishnu Itta <vitta@mayadata.io>
vishnuitta added a commit that referenced this pull request Feb 13, 2019
When replica gets disconnected with target due to timeout, there might be some IOs that are not responded for long time. There are ZIO delay logs that helps in debugging this issue.
This PR is to logs at uZFS layer regarding high latent IOs.

Signed-off-by: Vishnu Itta <vitta@mayadata.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants