On 06/05/19 22:07, Song Liu wrote:
Could you please run a quick test with raid5? I am wondering whether some race condition could get us into similar crash. If we cannot easily trigger the bug, we can process with this version.
Bear in mind I just read the list and write documentation, but ...
My gut feeling is that if it can theoretically happen for all raid modes, it should be fixed for all raid modes. What happens if code changes elsewhere and suddenly it really does happen for say raid-5?
On the other hand, if fixing it in md.c only gets tested for raid-0, how do we know it will actually work for other raids if they do suddenly start falling through.
Academic purity versus engineering practicality :-)
Cheers, Wol