summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorDaeho Jeong <daehojeong@google.com>2026-10-12 18:22:33 +0000
committerJaegeuk Kim <jaegeuk@kernel.org>2026-10-15 23:08:41 +0000
commit53b12b63304b34a3850a901c4de3cc6ad08e0aee (patch)
tree5655e34a5e35ce451b99fab0ac9b804f379f7597 /tools/lib/python/kdoc/python_version.py
parentb001d9bed52321a7856134685cc3bffcd1cfc93c (diff)
f2fs: return -EIO for a lost inode block after cp_error
After cp_error, dirty node caches are dropped without being written. If such an inode was never written, its NAT entry is still NEW_ADDR, and reading its inode block returns -ENOENT. f2fs_get_dnode_of_data() passes that -ENOENT up, and callers take it as a hole. Since the inode block is missing, the next offset can only advance one block, so fiemap walks block by block up to maxbytes, about 2^30 blocks, while holding the inode lock. It took hours in a power-off recovery test after shutdown and blocked unlink and umount on the file. Return -EIO instead of -ENOENT when the inode block itself is missing after cp_error or shutdown. A missing direct or indirect node is still reported as -ENOENT. Cc: stable@kernel.org Fixes: 28607bf3aa6f ("f2fs: drop dirty node pages when cp is in error status") Signed-off-by: Daeho Jeong <daehojeong@google.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