Files
linux-cix/fs
Gao Xiang 14f030a807 erofs: fix PSI memstall accounting
commit 1a2180f6859c73c674809f9f82e36c94084682ba 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: 9e2f9d34dd12 ("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
..
2024-08-19 06:04:25 +02:00
2025-01-17 13:36:11 +01:00
2025-01-09 13:31:54 +01:00
2024-10-22 15:46:20 +02:00
2024-08-03 08:54:22 +02:00
2024-12-14 20:00:21 +01:00
2025-01-09 13:31:46 +01:00
2024-08-19 06:04:25 +02:00
2024-02-23 09:25:13 +01:00
2024-08-19 06:04:25 +02:00