Hi, 在 2024/11/22 11:14, Xiao Ni 写道:
Ok, one place that I found is that raid5 can do extra end write while stripe->dev[].towrite is NULL, the null checking is missing. I'll mention that in the next version.Does this can cause the deadlock?
Not deadlock, the bit counter will underflow and reach COUNTER_MAX, and bitmap_startwrite() can wait forever for the counter. Thanks, Kuai