# md/raid5.c and STRIPE\_IO\_STARTED

- From: Eivind Sarto \<hidden\>
- Date: 2014-02-10 21:53:46 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2014/02/6626906
- Thread: https://ratatoskr.run/linux-raid/2014/02/6626906/t.md

```text
I am looking at drivers/md/raid5.c and I noticed that the flag STRIPE_IO_STARTED is only set and not cleared.
The flag only gets cleared in init_stripe() if a stripe is re-initialized.

Shouldn't it also be cleared whenever the current batch of IOs complete for each stripe?

I'm currently working with SLES11 SP3, but the same should also be the case in latest kernel.org.

-eivind

```
