diff options
| author | Chao Yu <chao@kernel.org> | 2025-12-30 11:22:52 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-08 10:14:59 +0100 |
| commit | 621dc9eb90a59fe62d8589ce2489e83efad4bf21 (patch) | |
| tree | 247fb842a11080b750ac0ed5228f6c43b1f68d87 /include/net/aligned_data.h | |
| parent | cccd92ec7e34487593afee7f7b0dfa98108b0827 (diff) | |
f2fs: add timeout in f2fs_enable_checkpoint()
[ Upstream commit 4bc347779698b5e67e1514bab105c2c083e55502 ]
During f2fs_enable_checkpoint() in remount(), if we flush a large
amount of dirty pages into slow device, it may take long time which
will block write IO, let's add a timeout machanism during dirty
pages flush to avoid long time block in f2fs_enable_checkpoint().
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Stable-dep-of: be112e7449a6 ("f2fs: fix to propagate error from f2fs_enable_checkpoint()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
