Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ext4: fix lazy initialization next schedule time computation in more …
…granular unit Ext4 file system has default lazy inode table initialization setup once it is mounted. However, it has issue on computing the next schedule time that makes the timeout same amount in jiffies but different real time in secs if with various HZ values. Therefore, fix by measuring the current time in a more granular unit nanoseconds and make the next schedule time independent of the HZ value. Fixes: bfff687 ("ext4: add support for lazy inode table initialization") Signed-off-by: Shaoying Xu <[email protected]> Cc: [email protected] Signed-off-by: Theodore Ts'o <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
- Loading branch information