summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorSeongjae Jeong <jsjlee1020@gmail.com>2026-10-02 06:48:53 +0000
committerJaegeuk Kim <jaegeuk@kernel.org>2026-10-15 23:08:41 +0000
commitb001d9bed52321a7856134685cc3bffcd1cfc93c (patch)
treeac2aa60e3992e9cd10e808d6609998dfa1420334 /tools/lib/python/kdoc/python_version.py
parent080833a32fd5dc10b3acf2fa9af9b3213e6cb617 (diff)
f2fs: avoid unnecessary reads in f2fs_update_meta_block()
When the packed SSA feature is enabled, f2fs_update_meta_block() uses f2fs_get_meta_cache_retry(), which reads the target block from disk if the cache entry is not uptodate. However, f2fs_update_meta_block() overwrites the entire filesystem block with memcpy(), so the existing contents are not needed. Partial updates to packed SSA blocks are handled separately in write_sum_block(). Use f2fs_grab_meta_cache() unconditionally to avoid reading blocks that will be fully overwritten. Also remove the error check, since f2fs_grab_meta_cache() retries allocation failures internally and does not return an error pointer. 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