-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 false ereport.fs.zfs.config_cache_write events. #6617
Conversation
Is this always true? It doesn't seem to be happening on my setup, the cachefile is still alive and well after
|
@loli10K what kernel do you use? Since 4.2 there is problem that the cache is never removed. I reported issue and proposed bugfix here: openzfs/spl#648 |
@ab-oe thanks, that explains it, i use kernel 4.6.4 on this box. I was in fact testing this PR but still getting
I now see it's because
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commit message must be updated to fix the STYLE buildbot warnings, otherwise LGTM
41a4f3f
to
6b368cc
Compare
On pool import when the old cache file is removed the ereport.fs.zfs.config_cache_write event is generated. Because zpool export always removes cache file it happens every export - import sequence. Signed-off-by: Arkadiusz Bubała <[email protected]>
@loli10K thanks. I fixed commit message. |
On pool import when the old cache file is removed the ereport.fs.zfs.config_cache_write event is generated. Because zpool export always removes cache file it happens every export - import sequence. Reviewed-by: George Melikov <[email protected]> Reviewed-by: loli10K <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Signed-off-by: Arkadiusz Bubała <[email protected]> Closes openzfs#6617
Description
On pool import when the old cache file is removed the ereport.fs.zfs.config_cache_write event is generated. Because zpool export always removes cache file it happens every export - import sequence.
Motivation and Context
To fix false cache write failure events on every export-import sequence.
How Has This Been Tested?
Types of changes
Checklist:
Signed-off-by
.