<install path>/lib/pm-utils/power.d/xfs_buffer line 62: in xfs_battery() function uses the following line:
write_values "$XFS_AGE_BUFFER" "$XFS_BUFD" "$XFS_SYNCD"
for battery mode.
This sets a very low value for xfssyncd_centisecs and fail with "invalid argument" when writing to xfsbufd_centisecs since it has a very low Max. Value and syncd value is in general much higher then 3000
It should (probably) be
write_values "$XFS_AGE_BUFFER" "$XFS_SYNCD" "$XFS_BUFD"
Steps to Reproduce:
1. implies xfs kernel support, procfs and so on -> proc/sys/fs/xfs/*
2. disconnect ac
xfssyncd_centisecs is very low, xfsbufd_centisecs is unmodified
correct xfssyncd_centisecs and xfsbufd_centisecs values