Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add alternate HZ calculation using write_expire
Linux 4.8 and later kernels that contain kernel commit 9a7f38c42c2b ("cfq-iosched: Convert from jiffies to nanoseconds") changed the definition of cfq_slice_async, and it cannot be used to calculate the HZ value. Add alternate HZ calculation using write_expire, which depends on CONFIG_MQ_IOSCHED_DEADLINE or CONFIG_IOSCHED_DEADLINE. Signed-off-by: Kazuhito Hagio <k-hagio-ab@nec.com>
- Loading branch information