On Mon, May 10, 2021 at 11:59:11PM -0700, Song Liu wrote: > > Yes. Also if the original bi_end_io is restore before completing the > > bio you can still override it. > > Do you mean we can somehow avoid cloning the bio? If you restore the original bi_end_io you might be able to avoid it. That being said I suspect that always cloning will be more robust.