# Re: PROBLEM: double fault in md\_end\_io

- From: Guoqing Jiang \<hidden\>
- Date: 2021-05-06 23:47:09 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2021/05/6640179
- Thread: https://ratatoskr.run/linux-raid/2021/04/6640096/t.md

```text


On 5/6/21 1:48 PM, Song Liu wrote:
> Hi Paweł,
>
> On Tue, May 4, 2021 at 2:18 PM Paweł Wiejacha
> [ref] wrote:
>> Guoqing's patch fixes the problem. Here's the actual patch I am using:
> Thanks for running the tests.

Thanks for the test, the better way could be just call bio_flagged(bio, BIO_CHAIN)
then no need to export bi_chain_endio.

>
> Hi Guoqing,
>
> Could you please send official patch for this fix?

Will do, and I think then we need to figure out a way to account the statistic of split
bio properly.

Thanks,
Guoqing
```
