linux-yocto/fs/erofs
Gao Xiang 14f030a807 erofs: fix PSI memstall accounting
commit 1a2180f685 upstream.

Max Kellermann recently reported psi_group_cpu.tasks[NR_MEMSTALL] is
incorrect in the 6.11.9 kernel.

The root cause appears to be that, since the problematic commit, bio
can be NULL, causing psi_memstall_leave() to be skipped in
z_erofs_submit_queue().

Reported-by: Max Kellermann <max.kellermann@ionos.com>
Closes: https://lore.kernel.org/r/CAKPOu+8tvSowiJADW2RuKyofL_CSkm_SuyZA7ME5vMLWmL6pqw@mail.gmail.com
Fixes: 9e2f9d34dd ("erofs: handle overlapped pclusters out of crafted images properly")
Reviewed-by: Chao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20241127085236.3538334-1-hsiangkao@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-01-17 13:36:11 +01:00
..
compress.h erofs: simplify compression configuration parser 2024-01-25 15:35:57 -08:00
data.c erofs: fix NULL dereference of dif->bdev_handle in fscache mode 2024-07-05 09:34:05 +02:00
decompressor_deflate.c erofs: avoid allocating DEFLATE streams before mounting 2024-06-16 13:47:31 +02:00
decompressor_lzma.c erofs: simplify compression configuration parser 2024-01-25 15:35:57 -08:00
decompressor.c erofs: avoid debugging output for (de)compressed data 2024-08-19 06:04:26 +02:00
dir.c
erofs_fs.h erofs: update on-disk format for xattr name filter 2023-08-11 12:11:44 +08:00
fscache.c erofs: fix lockdep false positives on initializing erofs_pseudo_mnt 2024-03-26 18:19:40 -04:00
inode.c erofs: fix incorrect symlink detection in fast symlink 2024-10-04 16:29:00 +02:00
internal.h erofs: get rid of erofs_fs_context 2024-05-25 16:22:53 +02:00
Kconfig erofs: boost negative xattr lookup with bloom filter 2023-08-11 12:11:44 +08:00
Makefile erofs: DEFLATE compression support 2023-08-11 12:11:17 +08:00
namei.c erofs: fix refcount on the metabuf used for inode lookup 2024-03-01 13:35:01 +01:00
pcpubuf.c
super.c erofs: reliably distinguish block based and fscache mode 2024-05-25 16:22:53 +02:00
sysfs.c
utils.c erofs: fix erofs_insert_workgroup() lockref usage 2023-11-20 11:59:23 +01:00
xattr.c erofs: boost negative xattr lookup with bloom filter 2023-08-11 12:11:44 +08:00
xattr.h Changes since last update: 2023-04-24 14:25:39 -07:00
zdata.c erofs: fix PSI memstall accounting 2025-01-17 13:36:11 +01:00
zmap.c erofs: handle NONHEAD !delta[1] lclusters gracefully 2024-12-09 10:32:11 +01:00