two patches for btrfsmaintenance
For the first patch, when this package was first installed, the timer will be scheduled as monthly for btrfs-balance.service. However if the user modifies configuration options other than BTRFS_BALANCE_PERIOD in /etc/sysconfig/btrfsmaintenance, the timer will be changed to weekly without being noticed. To avoid such a case, it's better to keep the value in the .timer file and the configuration file same. For the second patch, it tries to fix a timing window when editing the configuration file /etc/sysconfig/btrfsmaintenance. Please refer to the patch description for more detail.
What's your motivation for the changes? What problems do they fix?
What's your motivation for the changes? What problems do they fix?
I have updated the description for these two unrelated patches. Thanks for your reminding.
If the patches are unrelated, they should probably be in separate pull requests. Note that movement is a little slow here. :-)
The text in your first commit could probably make it more obvious that the default timer values are incorrectly different - and that this is in fact a fix to align the values. As is, it reads that you are making an arbitrary decision when that is not true.
Please split the changes to two patches (in one pull request).