There is still a race ?
There is still a race ?
Posted Jan 6, 2007 4:07 UTC (Sat) by Lovechild (guest, #3592)In reply to: There is still a race ? by mikov
Parent article: A nasty file corruption bug - fixed
The following is my take, seeing as I'm a retard baby compared to actual kernel hackers I might be wrong.
If it's a strictly theorically race and the fix means an overhead, it's often left with a comment to say 'here be dragons' so that if someone actually manage to hit it with a valid test case then it can be fixed. No need to endure overhead here and there for things that happen only in theory, it all adds up you know. Also adding code tends to cause more bugs to appear in sutle ways, adds to the complexity of reading and working with the codebase.
Posted Jan 6, 2007 17:11 UTC (Sat)
by i3839 (guest, #31386)
[Link]
I believe I read that this race, if it happened, would cause a writeout to happen twice, instead of only once. It wouldn't cause a writeout to be dropped, so this race can's cause corruption.There is still a race ?