Hi, 在 2024/11/23 11:55, Xiao Ni 写道:
For normal io, endwrite is called in function handle_stripe_clean_event when sh->dev[i].written has value. For failed io, endwrite is called when bitmap_end has value. bitmap_end is set when sh->dev[i].to_write is not NULL. Which place does extra endwrite?
I think it's related to the sh batch list. For example, the returnbi tag from handle_stripe_clean_event() doesn't check the written value. Thanks, Kuai