diff options
author | Sheng Yong <shengyong1@xiaomi.com> | 2025-04-08 20:23:50 +0800 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2025-04-09 22:55:16 +0800 |
commit | 1595f15391b81815e4ef91c339991913d556c1b6 (patch) | |
tree | c5f05341c8e779e86db36d5bac690e9b619ef09f /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 0af2f6be1b4281385b618cb86ad946eded089ac8 (diff) | |
download | linux-1595f15391b81815e4ef91c339991913d556c1b6.tar.gz linux-1595f15391b81815e4ef91c339991913d556c1b6.tar.bz2 linux-1595f15391b81815e4ef91c339991913d556c1b6.zip |
erofs: set error to bio if file-backed IO fails
If a file-backed IO fails before submitting the bio to the lower
filesystem, an error is returned, but the bio->bi_status is not
marked as an error. However, the error information should be passed
to the end_io handler. Otherwise, the IO request will be treated as
successful.
Fixes: 283213718f5d ("erofs: support compressed inodes for fileio")
Signed-off-by: Sheng Yong <shengyong1@xiaomi.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250408122351.2104507-1-shengyong1@xiaomi.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions