-
Notifications
You must be signed in to change notification settings - Fork 68
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
lvchange doesn't support dm-writecache pause_writeback setting #97
Comments
I hadn't noticed this addition, I'll add it to lvm's recognized settings for writecache. As you've shown, lvm does attempt to apply settings that it doesn't recognize (to handle new kernel features like this), but apparently this isn't working. |
This is actually working for me with the current version of lvm if I include the setting when attaching the writecache:
But it doesn't work using lvchange on an existing writecache. The lvchange removes it from the settings. It will apply other settings you include, or no settings (which is equivalent to clearing existing settings.)
It looks like I need to make it recognize this new setting and fix the way lvchange handles unrecognized settings. |
Background
Running on Ubuntu Focal 20.04.5 with "linux-image-generic-hwe-20.04"
Kernel version:
5.15.0-56-generic #62~20.04.1-Ubuntu
LVM version:
Problem
There is a new setting "pause_writeback" in dm-writecache that allows adjusting the frequency of writebacks
Trying to use the new setting with lvchange but it doesn't seem to be applying the config in the dm table:
While reloading via dmsetup is setting the new settings correctly:
However, a reboot will be reverting the settings back to:
Can I check:
Thank you
The text was updated successfully, but these errors were encountered: