+6
−1
Loading
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: 5ab829f1 ("md/md-llbitmap: introduce new lockless bitmap") Signed-off-by:Yu Kuai <yukuai@fnnas.com> Reviewed-by:
Li Nan <linan122@huawei.com>