diff options
| author | Yu Kuai <yukuai@fnnas.com> | 2026-01-24 02:26:23 +0800 |
|---|---|---|
| committer | Yu Kuai <yukuai@fnnas.com> | 2026-01-26 13:25:31 +0800 |
| commit | d119bd2e1643cc023210ff3c6f0657e4f914e71d (patch) | |
| tree | b3b1a7d302507a09e4ac0f8ed3bdac222630577b /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | cd1635d844d26471c56c0a432abdee12fc9ad735 (diff) | |
md/md-llbitmap: fix percpu_ref not resurrected on suspend timeout
When llbitmap_suspend_timeout() times out waiting for percpu_ref to
become zero, it returns -ETIMEDOUT without resurrecting the percpu_ref.
The caller (md_llbitmap_daemon_fn) then continues to the next page
without calling llbitmap_resume(), leaving the percpu_ref in a killed
state permanently.
Fix this by resurrecting the percpu_ref before returning the error,
ensuring the page control structure remains usable for subsequent
operations.
Link: https://lore.kernel.org/linux-raid/20260123182623.3718551-3-yukuai@fnnas.com
Fixes: 5ab829f1971d ("md/md-llbitmap: introduce new lockless bitmap")
Signed-off-by: Yu Kuai <yukuai@fnnas.com>
Reviewed-by: Li Nan <linan122@huawei.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
