diff options
| author | Yu Kuai <yukuai@fnnas.com> | 2026-01-24 02:26:22 +0800 |
|---|---|---|
| committer | Yu Kuai <yukuai@fnnas.com> | 2026-01-26 13:18:59 +0800 |
| commit | cd1635d844d26471c56c0a432abdee12fc9ad735 (patch) | |
| tree | 238b4f0feac429096cec6a53682796300d1e3731 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 5d1dd57929be2158fb5a8bc74817cc08b10b0118 (diff) | |
md/raid5: fix IO hang with degraded array with llbitmap
When llbitmap bit state is still unwritten, any new write should force
rcw, as bitmap_ops->blocks_synced() is checked in handle_stripe_dirtying().
However, later the same check is missing in need_this_block(), causing
stripe to deadloop during handling because handle_stripe() will decide
to go to handle_stripe_fill(), meanwhile need_this_block() always return
0 and nothing is handled.
Link: https://lore.kernel.org/linux-raid/20260123182623.3718551-2-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
