diff options
author | Ryusuke Konishi <konishi.ryusuke@gmail.com> | 2024-08-21 18:46:27 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-09-02 06:43:40 +0300 |
commit | d18e4233d88b1ed95016a465ad5751629f9d70b9 (patch) | |
tree | 1103084939515db33028eefcf6d45f3bbb0c4f77 /tools/perf/scripts/python/task-analyzer.py | |
parent | 0b9aad46c1634527c6a9f951f72c31be67f9b25c (diff) | |
download | linux-d18e4233d88b1ed95016a465ad5751629f9d70b9.tar.xz |
nilfs2: do not propagate ENOENT error from nilfs_sufile_mark_dirty()
nilfs_sufile_mark_dirty(), which marks a block in the sufile metadata file
as dirty in preparation for log writing, returns -ENOENT to the caller if
the block containing the segment usage of the specified segment is
missing.
This internal code can propagate through the log writer to system calls
such as fsync. To prevent this, treat this case as a filesystem error and
return -EIO instead.
Link: https://lkml.kernel.org/r/20240821154627.11848-6-konishi.ryusuke@gmail.com
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions