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 reporting of L2ARC hits/misses in arc_summary3 #9669

Merged
merged 1 commit into from
Dec 4, 2019

Conversation

gamanakis
Copy link
Contributor

Motivation and Context

arc_summary3 reports L2ARC hits and misses as Bytes.

Description

L2ARC hits and misses should be reported as events.
arc_summary2 reports these correctly.

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (a change to man pages or other documentation)

Checklist:

arc_summary3 reports L2ARC hits and misses as Bytes, whereas they
should be reported as events. arc_summary2 reports these correctly.

Signed-off-by: George Amanakis <gamanakis@gmail.com>
@PrivatePuffin
Copy link
Contributor

@gamanakis At least we now know how much effort you put into testing the persistent L2ARC :)

Copy link
Contributor

@behlendorf behlendorf left a comment

Choose a reason for hiding this comment

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

Nice find! Thanks for the fix.

@behlendorf behlendorf added the Status: Code Review Needed Ready for review and testing label Dec 3, 2019
@behlendorf behlendorf requested a review from a user December 3, 2019 23:22
@codecov
Copy link

codecov bot commented Dec 4, 2019

Codecov Report

Merging #9669 into master will decrease coverage by <1%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #9669    +/-   ##
========================================
- Coverage      79%      79%   -<1%     
========================================
  Files         418      418            
  Lines      123557   123557            
========================================
- Hits        98027    97884   -143     
- Misses      25530    25673   +143
Flag Coverage Δ
#kernel 80% <ø> (ø) ⬇️
#user 67% <ø> (ø) ⬇️

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 54c8366...e0f130d. Read the comment docs.

@behlendorf behlendorf added Status: Accepted Ready to integrate (reviewed, tested) and removed Status: Code Review Needed Ready for review and testing labels Dec 4, 2019
@behlendorf behlendorf merged commit 12395c7 into openzfs:master Dec 4, 2019
@gamanakis gamanakis deleted the arcsummary3 branch December 5, 2019 03:26
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Dec 26, 2019
arc_summary3 reports L2ARC hits and misses as Bytes, whereas they
should be reported as events. arc_summary2 reports these correctly.

Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Signed-off-by: George Amanakis <gamanakis@gmail.com>
Closes openzfs#9669
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Dec 27, 2019
arc_summary3 reports L2ARC hits and misses as Bytes, whereas they
should be reported as events. arc_summary2 reports these correctly.

Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Signed-off-by: George Amanakis <gamanakis@gmail.com>
Closes openzfs#9669
tonyhutter pushed a commit that referenced this pull request Jan 23, 2020
arc_summary3 reports L2ARC hits and misses as Bytes, whereas they
should be reported as events. arc_summary2 reports these correctly.

Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Signed-off-by: George Amanakis <gamanakis@gmail.com>
Closes #9669
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Accepted Ready to integrate (reviewed, tested)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants