sequential_cutoff Is Missing
Symptom
If the sequential_cutoff function is missing in the official CentOS 7.6 kernel, the following information is displayed:
# echo 4M > /sys/block/bcache0/bcache/sequential_cutoff -bash: /sys/block/bcache0/bcache/sequential_cutoff: Permission denied
Handling Procedure
The cause of this problem is that the official CentOS 7.6 kernel does not include the sequential_cutoff function. To resolve this problem, obtain the official kernel and modify the kernel configuration file.
- Enable the CONFIG_BCACHE macro definition.
- Recompile the kernel.
- Upgrade the kernel.
- Compile and install bcache. For details, see Compiling and Installing Software.
Parent topic: Troubleshooting