diff options
| author | Yongpeng Yang <yangyongpeng@xiaomi.com> | 2025-12-27 17:46:10 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2026-01-01 03:29:40 +0000 |
| commit | db1a8a7813f74968f79bd510fd5f0ae866bf8efd (patch) | |
| tree | 4bb0cc7afb7de4ea82a68c8ee2478ca994d7fea0 /include/trace | |
| parent | 86c1cf0578c59c8e68185d86d03be846bcaef0e2 (diff) | |
f2fs: return immediately after submitting the specified folio in __submit_merged_write_cond
f2fs_folio_wait_writeback ensures the folio write is submitted to the
block layer via __submit_merged_write_cond, then waits for the folio to
complete. Other I/O submissions are irrelevant to
f2fs_folio_wait_writeback. Thus, if the folio write bio is already
submitted, the function can return immediately. This patch adds a
writeback parameter to __submit_merged_write_cond(), which signals an
immediate return after submitting the target folio, and waitting
writeback can use this parameter.
Signed-off-by: Yongpeng Yang <yangyongpeng@xiaomi.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions
