summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorSeongjae Jeong <jsjlee1020@gmail.com>2026-09-06 14:56:11 +0000
committerJaegeuk Kim <jaegeuk@kernel.org>2026-09-14 15:21:48 +0000
commit66eec36c2421383e5b32e9c1740f656474c80df8 (patch)
treeba5a618eac378819f97168b9f3d7e67e6de72a64 /tools/lib/python/kdoc/python_version.py
parent3f140a60c92a5e2e9885adac70cd3686ba4ee19a (diff)
f2fs: skip node_change lock for inline data writes
The node_change lock serializes block reservation in the PRE_AIO path against checkpoint preparation, since block reservation can create dirty node pages and update checkpoint accounting. However, writes that remain within the inline data area return before the block reservation path. Thus, they do not call inc_valid_block_count(), change a node mapping from NULL_ADDR to NEW_ADDR, or create a dirty node page as a result of block reservation. They also do not update total_valid_block_count or alloc_valid_block_count. The inline path only copies the existing inline data to the data folio, sets FI_DATA_EXIST, and marks the inode folio for deferred inline data flushing. FI_DATA_EXIST can dirty inode metadata, but it does not reserve a block or update the node mapping and checkpoint accounting that node_change is intended to serialize. Skip f2fs_map_lock() for writes that fit within MAX_INLINE_DATA. Keep the existing locking for inline conversion, which can update filesystem metadata and requires checkpoint serialization. Signed-off-by: Seongjae Jeong <jsjlee1020@gmail.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions