Re: [PATCH md-6.13 5/5] md/md-bitmap: move bitmap_{start, end}write to md upper layer

From: Yu Kuai
Date: Sun Nov 24 2024 - 20:16:23 EST


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