diff options
| author | 2026-01-04 10:07:26 +0800 | |
|---|---|---|
| committer | 2026-01-07 03:17:07 +0000 | |
| commit | 6fa116053951d5785ef1a0b060858843e663a31a (patch) | |
| tree | 57d968ccafd0e8b19800cce7a883748f28506e23 /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | f2fs: fix to use jiffies based precision for DEFAULT_SCHEDULE_TIMEOUT (diff) | |
f2fs: fix timeout precision of f2fs_io_schedule_timeout_killable()
Sometimes, f2fs_io_schedule_timeout_killable(HZ) may delay for about 2
seconds, this is because __f2fs_schedule_timeout(DEFAULT_SCHEDULE_TIMEOUT)
may delay for about 2 * DEFAULT_SCHEDULE_TIMEOUT due to its precision, but
we only account the delay as DEFAULT_SCHEDULE_TIMEOUT as below, fix it.
f2fs_io_schedule_timeout_killable()
..
timeout -= DEFAULT_SCHEDULE_TIMEOUT;
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
