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

Provide a rc.d script for archlinux #322

Closed
wants to merge 1 commit into from
Closed

Provide a rc.d script for archlinux #322

wants to merge 1 commit into from

Conversation

kylef
Copy link
Contributor

@kylef kylef commented Jul 11, 2011

Note, this does not include changes made by autogen.sh, the reason for that is that the diff shows unrelated changes.

A few lines include:

+ac_ct_AR = @ac_ct_AR@
-lt_ECHO = @lt_ECHO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+DLLTOOL = @DLLTOOL@
+PACKAGE_URL = @PACKAGE_URL@

There is a lot of changes in config/ltmain.sh which are definitely not related.

pcd1193182 pushed a commit to pcd1193182/zfs that referenced this pull request May 28, 2021
mmaybee pushed a commit to mmaybee/openzfs that referenced this pull request Apr 6, 2022
The CACHE-HITS ratio percentage is calculated as `CacheHit` /
`LookupForRead`.  However, the agent also increments CacheHit when
incrementing LookupForWrite (from `ZettaCache::heal()`).  We call heal()
when there's zettacache corruption, which should be very rare, but we
also heal() for every scrub read.  Because of this, when `zpool scrub`
is running, the hits ratio is incorrectly high, often much more than
100%.

Each write_block request results in a `ZettaCache::lookup_impl()`, to
ensure that the block isn't already present due to a kernel crash.
However, this is an implementation detail, and we expect these lookups
to rarely hit, and to always find the index entry in the index chunk
cache.  So we don't need these "lookups" to show up in any kind of
accounting.

This commit revamps the cache hits accounting by counting only (and all)
non-write lookups.
EchterAgo added a commit to EchterAgo/zfs that referenced this pull request Nov 10, 2023
Without this git needs to track way too many changes.

Signed-off-by: Axel Gembe <axel@gembe.net>
andrewc12 pushed a commit to andrewc12/openzfs that referenced this pull request May 18, 2024
Without this git needs to track way too many changes.

Signed-off-by: Axel Gembe <axel@gembe.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants