diff options
| author | Chao Yu <chao@kernel.org> | 2026-01-04 10:07:26 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2026-01-07 03:17:07 +0000 |
| commit | 6fa116053951d5785ef1a0b060858843e663a31a (patch) | |
| tree | 57d968ccafd0e8b19800cce7a883748f28506e23 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | da90b6715567e900a3c5d112dfaf8f385b343edc (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 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
